[Python-ideas] Async API

Christian Tismer tismer at stackless.com
Wed Oct 24 02:43:38 CEST 2012


On 24.10.12 01:00, Sam Rushing wrote:
> On 10/23/12 3:05 PM, Yury Selivanov wrote:
> ...

>> There is only one way to 'magically' make existing code both sync- & async-
>> friendly--greenlets, but I think there is no chance for them (or stackless) to
>> land in cpython in the foreseeable future (although it would be awesome.)
>>
>> BTW, why didn't you use greenlets in shrapnel and ended up with your own
>> implementation?
> I think shrapnel predates greenlets... some of the core asm code for
> greenlets may have come from one of shrapnel's precursors at ironport...
> Unfortunately it took many years to get shrapnel open-sourced - I
> remember talking with Guido about it over lunch in ~2006.
>

Hi Sam,

greenlets were developed in 2004 by Armin Rigo, on the first
(and maybe only) Stackless sprint here in Berlin.
The greenlet asm code was ripped out of Stackless and slightly
improved, but has the same old stack-slicing idea.

cheers - chris

-- 
Christian Tismer             :^)   <mailto:tismer at stackless.com>
Software Consulting          :     Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121     :    *Starship* http://starship.python.net/
14482 Potsdam                :     PGP key -> http://pgp.uni-mainz.de
phone +49 173 24 18 776  fax +49 (30) 700143-0023
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
       whom do you want to sponsor today?   http://www.stackless.com/




More information about the Python-ideas mailing list