3 ms·
The code shown in this project's readme wouldn't work statically - can you see all the deoptimisation points in the generated code? It can only be made so fast
by chrisseaton 10y ago
The code shown in this project's readme wouldn't work statically - can you see all the deoptimisation points in the generated code? It can only be made so fast because it has the option to bail out to the interpreter at any point.
- gsnedders 10y agoV8 doesn't have an interpreter, so it doesn't bail out to one. It certainly bails out to its baseline compiler, though!
- gravypod 10y agoCan you elaborate at what you mean here? I don't see where this interpreter is implemented.
- chrisseaton 10y agoAs gsnedders pointed out it is actually a template compiler rather than an interpreter at the moment.