News for hackers. Stuff that matters.
Re:Mozilla, WebKit To Support Debugging CoffeeScript and oth... by tonye on Tuesday August 09, 2011 @03:48AM (#2863303)
I have to agree, a sandboxed version of llvm bytecode would open up all sorts of opportunities.
Re:Mozilla, WebKit To Support Debugging CoffeeScript and oth... by samlittlewood on Tuesday August 09, 2011 @05:17AM (#2863429)
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
Re:Mozilla, WebKit To Support Debugging CoffeeScript and oth... by ootachi on Tuesday August 09, 2011 @01:22PM (#2864842)
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.