more on continuations
Jim Baker
jbaker at zyasoft.com
Thu Sep 24 14:36:24 PDT 2009
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 <John.Rose at sun.com> 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
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
--
Jim Baker
jbaker at zyasoft.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20090924/be59919c/attachment.html
More information about the mlvm-dev
mailing list