Re:A New Bytecode Format for JavaScriptCore
by eridius on Friday June 21, 2019 @04:29PM
(#20246057)
If you're going to precompile your JS, why would you want to emit this bytecode instead of just going to WASM?
[ Parent
| on HN ]
Because wasm still doesn't support many features that JS does. For example accessing the DOM.
Re:A New Bytecode Format for JavaScriptCore
by firethief on Friday June 21, 2019 @06:58PM
(#20246944)
Bytecode is a broad category. The design of a bytecode suitable for interpreting JS has little in common with a bytecode for AOT compilation of static languages without tracing GC, other than that they're both made of bytes.