[Stackless] [pypy-dev] Stackless Python and PyPy Stackless.py
andrewfr_ice at yahoo.com
Tue Sep 29 00:12:58 CEST 2009
I believe you are in Montreal? And yes I would be interested in knowing
about your work!
A quick note - I will be giving a talk on Stackless on Wednesday. The talk may be too elementary for you.
And yes I am very interested in using PyPy for experimenting with new
Stackless features. In my case, I am chiefly interested in workflow constructs. So stuff like the Limbo alt statement, join/wait, event handlers.
What particularly interests me is prototyping the features
in PyPy to get the behaviour and interface correct. Then moving the
features to Stackless. Of course, this would require me to improve my knowledge of Stackless internals.
In terms of pickling (I am assuming you are delving into this for
process migration), I have done some work with swapping. My experience so far has been to do swapping, one needs to introduce some notion of 'process.'
--- On Mon, 9/28/09, Gabriel Lavoie <glavoie at gmail.com> wrote:
> From: Gabriel Lavoie <glavoie at gmail.com>
> Subject: Re: [pypy-dev] Stackless Python and PyPy Stackless.py
> To: "Andrew Francis" <andrewfr_ice at yahoo.com>
> Cc: stackless at stackless.com, pypy-dev at codespeak.net, tismer at stackless.com
> Date: Monday, September 28, 2009, 6:04 AM
> Hello Andrew,
> I'm currently experimenting with
> PyPy's implementation of
> Stackless to add new features for a university master
> degree project.
> I chose PyPy's implementation because it's easier to play
> with Python
> code than with C code. Also, since PyPy is "still
> experimental", it
> was the best implementation to choose to hack with and I
> don't regret
> my choice. What I'm trying to achieve is to add distributed
> to Stackless:
> - Local and networked channels with automatic switch
> between both
> - Easy tasklet migration to a remote host, keeping the
> connections between tasklets.
> - Transparent/automatic dependencies migration when a
> tasklet is sent
> to a remote host.
> Most of the features are done and I'm currently working on
> dependencies migration. The only bad part is that I'm doing
> project part time since I have a full time job but I have
> to complete
> the programming part in the next two months (I've been
> working for too
> long on this).
> If you're interested to see what I've done, just ask! :)
> See ya,
> 2009/9/25 Andrew Francis <andrewfr_ice at yahoo.com>:
> > Hi Folks:
> > Again as a part of my Stackless Python talk, I wanted
> to include a section on the "Future." I assume a part of
> Stackless Python's future is PyPy? Or am I being
> > Regardless I would like to end the talk with a brief
> section on PyPy. I noticed the Stackless.py module in lib
> that contains the Stackless implementation in Python.
> > What I plan to do in my talk is show how a rough
> approximation of Limbo's alt (selecting the first ready
> channel from a list) could be implemented.
> > I am a newbie in regards to PyPy. However I have been
> reading the Stackless documentation. I thought it would be
> neat if I ended the talk with redoing this, but in PyPy as a
> part of how one could quickly prototype new Stackless Python
> features. Any thoughts? Is there anything gotchas?
> > Cheers,
> > Andrew
> > _______________________________________________
> > pypy-dev at codespeak.net
> > http://codespeak.net/mailman/listinfo/pypy-dev
> Gabriel Lavoie
> glavoie at gmail.com
More information about the Stackless