[Python-ideas] Register based interpreter

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Feb 20 22:47:08 CET 2009

Chris Rebert wrote:
> The bytecode is
> stack-oriented through-and-through; it'd be quite a major change to
> become register-based.

Also, I have a hard time believing it would make much
difference. Python bytecodes are mostly quite large
units of functionality, so the time taken manipulating
the stack is not likely to be a significant component.

This is different from something like Java where you
have bytecodes that directly manipulate low-level things
such as integers.


More information about the Python-ideas mailing list