Hacker News new | past | comments | ask | show | jobs | submit login

I have to agree, a sandboxed version of llvm bytecode would open up all sorts of opportunities.



Have a look at pnacl - LLVM executables in NACL sandbox:

  http://nativeclient.googlecode.com/svn/data/site/pnacl.pdf

  http://www.chromium.org/nativeclient/pnacl


Shipping LLVM bitcode is a bad idea. The bitcode format is constantly changing from revision to revision, its JIT is huge and slow so you'd have to rewrite a lot of it, .bc files are enormous, the bitcode format is non-portable, the type system is missing a bunch of stuff like unions, etc.

And modern JavaScript engines largely make it fast enough anyway.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: