Re:Brendan Eich: WebAssembly is a game-changer
by Sanddancer on Friday March 11, 2016 @12:41AM
(#11264851)
Yes, it's an IR. It still has all of the issues a bytecode format has, and none of the size advantages.
[ Parent
| on HN ]
Re:Brendan Eich: WebAssembly is a game-changer
by thesz on Friday March 11, 2016 @11:39AM
(#11267636)
Cannot find PDF for Slim Binaries paper by Franz, so I cite it from memory.
They used syntax trees of program as a distribution format, compressed these trees with LZW variant and executed using simple JIT compiler (basically, tree automata over program trees). The size of Slim Binaries was smaller than JAR files for comparable Java programs. I don't remember exact percentage reduction, it was about 20-40, I believe.
Re:Brendan Eich: WebAssembly is a game-changer
by CyberDildonics on Friday March 11, 2016 @10:27PM
(#11271253)
It is a binary AST and is explicitly made to be both compact and fast to parse.
Not all intermediate representations are bytecode.