J
John Nagle
There are other approaches. PyPy uses two interpreters and a JIT
compiler to handle the hard cases. When code does something unexpected
to other code, the backup interpreter is used to get control out of
the trouble spot so that the JIT compiler can then recompile the
code. (I think; I've read the paper but haven't looked at the
internals.)
This is hard to implement and hard to get right.
John Nagle
compiler to handle the hard cases. When code does something unexpected
to other code, the backup interpreter is used to get control out of
the trouble spot so that the JIT compiler can then recompile the
code. (I think; I've read the paper but haven't looked at the
internals.)
This is hard to implement and hard to get right.
John Nagle