Re:Firefox’s new streaming and tiering compiler
by dfox on Wednesday January 17, 2018 @02:25PM
(#16170905)
Streaming in this case means that you can start generating (or even executing) code before you have complete input. There are some mostly ignorable reasons (having to do with bytecode verification) why you should not stream-JIT Java bytecode. On the other hand in the whole ecosystem you will not gain anything wothwhile given the fact that you need the JVM state to be essentially complete before you start executing anything and on slightly lower-level the .class file format is designed to be compact and not meaningfully streamable.
[ Parent
| on HN ]
Re:Firefox’s new streaming and tiering compiler
by jnordwick on Wednesday January 17, 2018 @02:39PM
(#16171045)
Hotspot and wasm are both stack languages. All the other differences seem to be rather small (you could change or ditch the security model fairly easily), and wasm needs some bytecode verification too.