[Python-Dev] A wordcode-based Python
Antoine Pitrou
solipsis at pitrou.net
Mon May 11 22:27:54 CEST 2009
Hi,
> WPython is a re-implementation of (some parts of) Python, which drops
> support for bytecode in favour of a wordcode-based model (where a is word
> is 16 bits wide).
This is great!
Have you planned to port in to the py3k branch? Or, at least, to trunk?
Some opcode and VM optimizations have gone in after 2.6 was released, although
nothing as invasive as you did.
About the CISC-y instructions, have you tried merging the fast and const arrays
in frame objects? That way, you need less opcode space (since e.g.
BINARY_ADD_FAST_FAST will cater with constants as well as local variables).
Regards
Antoine.
More information about the Python-Dev
mailing list