[pypy-dev] PyPy 1.7 - widening the sweet spot

Randall Leeds randall.leeds at gmail.com
Wed Nov 23 09:06:41 CET 2011


On Tue, Nov 22, 2011 at 15:12, Andy <angelflow at yahoo.com> wrote:
> By "stackless features" do you mean just Stackless Python? Or does this
> limitation apply to any non-blocking system like gevent?

I believe this means anything that using the continuation support.
That includes anything importing greenlet, such as gevent and
eventlet. (Aside, gevent is a cython extension so is currently
unusable with pypy anyway.)

> ________________________________
> From: Maciej Fijalkowski <fijall at gmail.com>
> To: holger krekel <holger at merlinux.eu>
> Cc: PyPy Developer Mailing List <pypy-dev at python.org>
> Sent: Tuesday, November 22, 2011 3:47 AM
> Subject: Re: [pypy-dev] PyPy 1.7 - widening the sweet spot
>
> On Tue, Nov 22, 2011 at 1:23 AM, holger krekel <holger at merlinux.eu> wrote:
>> On Mon, Nov 21, 2011 at 12:35 +0200, Maciej Fijalkowski wrote:
>>> * PyPy now comes with stackless features enabled by default. However,
>>>   any loop using stackless features will interrupt the JIT for now, so no
>>> real
>>>   performance improvement for stackless-based programs. Contact pypy-dev
>>> for
>>>   info how to help on removing this restriction.
>>
>> Yes, please, could you talk a bit more explicitely about what is involved
>> and what works/integrated and what doesn't?
>>
>> best,
>> holger
>>
>
> Everything works, but every instruction that can cause a switch (so
> pretty much using *any* of stackless features) will disable jitting
> for this loop. this is unideal, and I don't quite recall the exact
> reasons why, other than "more work is needed". Armin, can you
> elaborate?
>
> Cheers,
> fijal
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
>
>
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
>
>


More information about the pypy-dev mailing list