3 ms·
> but I do consider applying a tracing JIT to an interpreter as a way to automatically convert an interpreter to an optimizing VM. there's nothing automatic ab
by almostgotcaught 2y ago
> but I do consider applying a tracing JIT to an interpreter as a way to automatically convert an interpreter to an optimizing VM.
there's nothing automatic about it. the user above you quoted from their paper - the user (person writing the interpreter) must annotate their code to pass hints to the tracing jit.
- azakai 2y agoIt is still largely automatic. Some amount of special annotations are needed in all these related approaches. For example, in this article, @CompilationFinal is used in Graal interpreters. (It is possible more annotations are needed in PyPy than Graal, but still, an annotated interpreter is far, far simpler than writing an optimizing JIT!)