4 ms·
> Dispatch tables are pretty desperate in 2020 You assume the development bandwidth exists to implement JIT runtimes for all small interpreters/VMs. Transformi
by junon 6y ago
> Dispatch tables are pretty desperate in 2020
You assume the development bandwidth exists to implement JIT runtimes for all small interpreters/VMs. Transforming VM bytecode into host machine code isn't a new concept, quite the opposite. The development cost to do so generally outweighs the benefits, especially in the beginning of development.
Plus, fortunately, such a refactor is generally unobtrusive, so computed goto is by far a more attractive option than implementing a JIT runtime.