4 ms·
WASM is just a spec for a machine. There are a bunch of implementations of it some of which can do JIT compilation.
by eatonphil 5y ago
WASM is just a spec for a machine. There are a bunch of implementations of it some of which can do JIT compilation.
- lxgr 5y agoWhat I mean is doing JIT compilation inside WASM, not a WASM implementation running WASM programs using JIT (which is definitely possible and being done, as far as I know). I'm not sure how the former would work in a pure Von-Neumann-architecture, where it's not possible to reference code as data (and consequently also not possible to emit new code). What would be interesting to JIT compile in the context of Ruby isn't the Ruby interpreter itself (both AOT and JIT should be fine for that), but the Ruby programs it would be running.