News for hackers. Stuff that matters.
Re:My gripes with JavaScript by wladimir on Wednesday June 22, 2011 @11:00AM (#2683393)
Yes a VM would be nice. Or LLVM + native client, "portable native client", Google is (was?) working on this in Chromium.
Re:My gripes with JavaScript by protomyth on Wednesday June 22, 2011 @11:31AM (#2683541)
LLVM code with access to the DOM would be fine by me. Security would probably take a while to audit.

"The LLVM code representation is designed to be used in three different forms: as an in-memory compiler IR, as an on-disk bitcode representation (suitable for fast loading by a Just-In-Time compiler), and as a human readable assembly language representation. This allows LLVM to provide a powerful intermediate representation for efficient compiler transformations and analysis, while providing a natural means to debug and visualize the transformations. The three different forms of LLVM are all equivalent. This document describes the human readable representation and notation." http://llvm.org/docs/LangRef.html#abstract