Re:"Future of JavaScript" doc from our internal "JavaScript ...
by duaneb on Tuesday November 12, 2013 @04:40PM
(#6721380)
Ok, what would you consider for a universal vm? It seems to me that it's much easier to put one in later than the fundamental problems with JS that need addressing now.
[ Parent
| on HN ]
Re:"Future of JavaScript" doc from our internal "JavaScript ...
by chromanoid on Tuesday November 12, 2013 @06:15PM
(#6722109)
It should be a Spec that supports some generic operations and a spec for a standard library (interaction with dom etc.). Maybe bytecode is too low level, how about some kind of stackless 3-address intermediate representation like Soot uses for JVM bytecode (jimple has afair ~15 operations, see http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.58....). This would lead to a language one can wonderfully compile to. asm.js is probably already this idea in practice.