Re:A New Bytecode Format for JavaScriptCore
by kevingadd on Friday June 21, 2019 @10:00PM
(#20247580)
WASM's (abandoned, because brotli is good enough) Binary Encoding proposal was essentially a binary AST compression system that worked for both JS trees (esprima) and wasm ASTs.
You get pretty good improvements by converting ASTs into SoA representation, interleaving them, and then compressing them. Fast to decode, too.
You get pretty good improvements by converting ASTs into SoA representation, interleaving them, and then compressing them. Fast to decode, too.
https://github.com/WebAssembly/design/issues/1180