Re:Firefox’s new streaming and tiering compiler
by icebraining on Wednesday January 17, 2018 @02:10PM
(#16170774)
Why Hotspot? There are many bytecode languages, with their own execution environments - .NET/CLR, Parrot, BEAM, etc. wasm is an attempt to design one specifically for the web, rather than trying to shoehorn one made for a different environment.
[ Parent
| on HN ]
Re:Firefox’s new streaming and tiering compiler
by jnordwick on Wednesday January 17, 2018 @02:36PM
(#16171009)
HotSpots optimization and code generation is far superior than any other VM.
But that is kind of my point - there are advanced vms out there. I don't see why the web needs its own vm apart from them. All the differences I see are fairly minimal.
Re:Firefox’s new streaming and tiering compiler
by kodablah on Wednesday January 17, 2018 @02:44PM
(#16171091)
But the bytecode and stdlib it works with are the least suitable. I could go on for a long time about JVM insns and the class model and GC assumptions that make it bad for the web. Similarly, I could go on forever about the stdlib that supports this bytecode (strings, threads, class loaders, etc) and why it's bad for the web too.