3 ms·
I'm not really proposing anything, since the V8 team has forgotten more about VMs than I know, just pointing out another common design alternative. The post imp
by wmf 18y ago
I'm not really proposing anything, since the V8 team has forgotten more about VMs than I know, just pointing out another common design alternative. The post implies that V8 can already perform some sort of AOT compilation:
When you build V8 from source, you can have it generate a snapshot of the memory state once the libraries are loaded and this gets packaged in the executable. It makes it slightly bigger but the load time is blazingly fast.
There's certainly extra work in this approach, but maybe it would be worth it if it allows the compiler to be written in a more productive language.