News for hackers. Stuff that matters.
Re:Asm.js: a strict subset of js for compilers – working draft by jws on Friday February 15, 2013 @01:37PM (#5227635)
LLVM byte code in an OS secured jail/sandbox? The JIT is already there and BSD licensed so all the players can use it. You'd really have to trust your sandbox though.

The API for what you what you can do out of your sandbox would be the hard part. Every capability you add to the API is also a lurking attack vector in each implementation.

Re:Asm.js: a strict subset of js for compilers – working draft by adamnemecek on Friday February 15, 2013 @01:48PM (#5227705)
Microkernels in the browser to the rescue :-). But yeah, I had something like that in mind. I do realize that getting security right would be tricky, but I'm not sure if it would be that much trickier than say the security of any given JS engine. Since the semantics of said VM would be probably simpler, I would make the argument that getting the security right would be easier to do than the security of said JS engine.
Re:Asm.js: a strict subset of js for compilers – working draft by lucian1900 on Friday February 15, 2013 @01:57PM (#5227761)
You're describing PNaCl.
Re:Asm.js: a strict subset of js for compilers – working draft by cbhl on Friday February 15, 2013 @01:52PM (#5227734)
It sounds like you want Chrome's NaCl.