News for hackers. Stuff that matters.
Re:Brendan Eich: WebAssembly is a game-changer by icedchai on Thursday March 10, 2016 @11:18PM (#11264617)
Oracle isn't. Sun dropped the ball.

My point is we could've embedded JVM in the browser "correctly" instead of reinventing the wheel with another byte code format.

Re:Brendan Eich: WebAssembly is a game-changer by CyberDildonics on Friday March 11, 2016 @12:05AM (#11264757)
webasm is not a bytecode format
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.
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.

Re:Brendan Eich: WebAssembly is a game-changer by renlo on Friday March 11, 2016 @05:09AM (#11265722)
Do you have a source that Webasm's IR won't be as compact as Java bytecode?