Python 1.6 The balanced language

Tim Peters tim_one at email.msn.com
Tue Sep 12 15:44:11 EDT 2000


[Christian Tismer]
> But that's the point:
> JPython does not have an extra VM, but emits java VM
> code. That means: Having coroutines for JPython is
> the same question as having coroutines in Java: Is
> it possible without changing the Java VM?
>
> I'm proetty shure it is impossible by creating java scourcecode,
> but I'm no longer sure that the VM is incapable to do it.
> This code would just have no Java equivalent.
> Yet another decompile barrier :-)

Jcon is to Icon as JPython is to CPython.  While Icon's coexpressions are
spottily implemented across "real machines" <wink>, via excruciating
platform-specific assembler to fool the C stack, Jcon simply implements them
on top of Java threads.  So the JVM doesn't really enter into it for them
(no more than the PVM enters into my ancient thread-based coroutine pkg for
Python).

you-didn't-say-anything-about-being-usably-fast<wink>-ly y'rs  - tim






More information about the Python-list mailing list