[pypy-dev] Tealets Re: Stackless work

Andrew Francis andrewfr_ice at yahoo.com
Mon May 23 16:11:59 CEST 2011

Hi Da_Blitz:

--- On Sat, 5/21/11, Da_Blitz <pypy at pocketnix.org> wrote:

> keeping this one short and simple
> I am interested in using JIT enabled stackless with pypy
> (obviously a 
> feature that doesn't exist). i have been playing with the
> coroutines 
> interface (which i am finding nicer to work with than
> tasklets) but 
> don't have the skill to pull of the stackless work
> it has been suggested that pypy devs are willing to work on
> paid for 
> features. so if anyone is interested in doing work on
> stackless and 
> being paid for it please feel free to get in touch of me so
> we can 
> discuss it (either on irc or via email)
> there isnt a deadline for compleation of this feature, just
> me wanting 
> to throw a firecracker at someone to at the very least get
> it started

Well Da_Blitz, a few months ago, there was talk on creating what I believe
Christian told me are "tealets"(I think Armin came up with the term and Maciej the concept). This would be a quick way to get the JIT to work with greenlets under the hood. This would not be as powerful as if one could get the stackless transform to work with the JIT (i.e., no pickling).

I wanted to help and I started to look at how greenlets work. Also at Pycon, Christian was gracious in explaining how based Stackless Python works. My own knowledge of PyPY is still really sketchy.

Right now my own stackless.py efforts have been in a creating a new concurrency construct called "join patterns." 


More information about the pypy-dev mailing list