PyPy stackless does support greenlets. PyPy would not work with CPython C module called "greenlets".
On Mon, Sep 27, 2010 at 2:29 PM, Andy <[email protected]> wrote: > Why wouldn't pypy work with greenlet but would work with Stackless? greenlet > calls itself a spin-off of Stackless. Isn't greenlet a subset of Stackless > without the scheduling? Could you explain a bit more? > > Thanks. > > --- On Mon, 9/27/10, Maciej Fijalkowski <[email protected]> wrote: > >> From: Maciej Fijalkowski <[email protected]> >> Subject: Re: [pypy-dev] PyPy JIT & C extensions, greenlet >> To: "Ian P. Cooke" <[email protected]> >> Cc: [email protected] >> Date: Monday, September 27, 2010, 8:23 AM >> Hey. >> >> greenlet C module is quite incompatible with pypy and won't >> work. >> However making pypy work with jit and stackless is >> something that >> requires a bit of work only (teaching jit how to unroll the >> stack >> mostly) and I plan to look into it in the very near >> future. >> >> Cheers, >> fijal >> >> On Mon, Sep 27, 2010 at 1:49 PM, Ian P. Cooke <[email protected]> >> wrote: >> > >> > There was a recent thread with the same subject and I >> would like to look >> > into this a bit more. >> > I knew pypy-stackless wouldn't work after I built a >> working 64-bit pypy >> > w/ JIT, well, now I'm intrigued. >> > >> > I will look at the code more closely soon. Armin, >> Carl Friedrich, would >> > you answer a couple of questions in the mean-time? >> > >> > What is the largest roadblock to making pypy-stackless >> work on pypy w/ JIT? >> > Would it be possible/easier to port the greenlet >> module? >> > >> > Having built-in support for co-routines would be very >> nice but my own >> > goal is to get greenlet working in any manner. >> > If I could build a 64-bit pypy w/ JIT and then >> easy_install greenlet, >> > that would work for me. >> > >> > Thanks, >> > Ian >> > >> > P.S. congratulations on all your recent progress! I >> always look forward >> > for the next pypy blog update :) >> > _______________________________________________ >> > [email protected] >> > http://codespeak.net/mailman/listinfo/pypy-dev >> > >> _______________________________________________ >> [email protected] >> http://codespeak.net/mailman/listinfo/pypy-dev > > > > _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
