John, thanks for writing this summarization. This is one talk I unfortunately could not attend. It's important that any supporting continuation model not be thread-bound, if we are going to be able to use it for generators and coroutines in Python. In Jython, there's the possibility of some threadstate leaking through different environments of PySystemState, but in practice this shouldn't really happen. Scoping of generators, plus our own frame storage, makes all this work just fine in Jython 2.5.
This question of being thread bound does arise in the greenlets implementation that is popular for scaled-up deployments (such as Slide.com). Greenlets require that all elements of a given greenlet tree be in the same thread, but that may be a property of the implementation, not necessarily of the model. And of course, having support for full continuations is certainly something that we would like to see become available on the JVM. - Jim On Thu, Sep 24, 2009 at 2:46 PM, John Rose <[email protected]> wrote: > I have transcribed my recollections about our continuation discussion > at the Summit: > > http://wiki.jvmlangsummit.com/MotionsToContinue > > If you were there, and remember more, please improve these notes! > > -- John > _______________________________________________ > mlvm-dev mailing list > [email protected] > http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev > -- Jim Baker [email protected]
_______________________________________________ mlvm-dev mailing list [email protected] http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
