[Python-Dev] Can we switch different "byte code interpreters"?

Aahz aahz@pythoncraft.com
Tue, 10 Jun 2003 09:37:07 -0400


On Tue, Jun 10, 2003, Yan Weng wrote:
> 
> I am new to Python's core. I have a question here. Is the "byte code
> interpreter" part implemented as a separate part, say, a dll or so?
> If not, why?
> 
> The advantage to make interpreter a "plug-in" like module is:
> We can test different interpreter implementations or optimizers easily.

That's a complicated question; more precisely, it has a complicated
answer.  In a lot of ways, the byte code interpreter is the true core of
Python, and it's everything else that is separate (or potentially
separable).  I'd sugest that you get involved with the PyPy if you're
really interested in this topic.

http://codespeak.net/moin/pypy/
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"If you don't know what your program is supposed to do, you'd better not
start writing it."  --Dijkstra