Jpython and continuations

Paul Prescod paul at prescod.net
Wed Feb 16 21:57:34 EST 2000


Tim Peters wrote:
>
> ... 
> Discussions on this stretched over many months last year, beginning in about
> May.  Guido developed a nearly complete implementation plan for generators
> in the "Generator details" thread of July '99, in the Python-Dev archives.

One thing to consider is what of this can be easily added to JPython.
I'm a little leery about continuations because JPython uses the Java
stack, doesn't it? It does have a concept of a Python frame but the
"instruction pointer" is implicit in the JVM, not explicit in an
interpreter loop.

-- 
 Paul Prescod  - ISOGEN Consulting Engineer speaking for himself
"The calculus and the rich body of mathematical analysis to which it
gave rise made modern science possible, but it was the algorithm that
made possible the modern world." 
        - from "Advent of the Algorithm" David Berlinski
	http://www.opengroup.com/mabooks/015/0151003386.shtml




More information about the Python-list mailing list