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

Terry Reedy tjreedy@udel.edu
Tue, 10 Jun 2003 11:25:43 -0400


"Yan Weng" <yweng@cs.uoregon.edu> wrote in message
news:000b01c32f24$89ac89a0$b9acdf80@uo0b0aw1s4pcg0...
> 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.

I doubt that the extra time taken to link in 'everything else'
(already compiled) is the major barrier to experimenting with the byte
code interpreter ;-)  Many such experiments involve changing the byte
code itself, and hence the byte code compiler also.

Terry J. Reedy

PS.  When you start a new topic, start a new thread instead of
piggybacking on an existing thread.  Thread-aware readers typically
present a list of one line per thread and expand on request.  If I
were not reading the thread on PEP 317, I would not have seen this.