[Stackless] Mistakes, Corrections and Questions Concerning My Pickle Example Re: cPickleshould work?

Christian Tismer tismer at stackless.com
Mon May 15 15:30:17 CEST 2006


Richard wrote:
>> From: Christian Tismer on 09 May 2006 10:28

>> At some point, I want to get rid of all hand-written
>> non-essenctial C code that can be generated from an RPython
>> implementation, automatically.
> 
> Can you elaborate on your plans for Stackless with regard to this?
> 
> I wasn't aware that you were planning to bind Stackless to PyPy,

This is not directly binding Stackless to PyPy, but a bit.
The idea is to produce a Stackless module by writing it
in RPython as much as possible. Then it would be translated
into C and be used by Stackless.

> and thought that the Stackless solutions that come from it would
> be a complete replacement.  And Stackless would remain a legacy
> project independent of it.

Well, I'm not completely decided on this. The PyPy version of
stackless is quite nice because it factors the building blocks
into smaller ones. Everything is based upon a coroutine
implementation. Greenlets and Tasklets are derived classes,
and it is pretty simple to create even more variants.

Of course there are some missing parts which can't be handled
right now. PyPy only does soft-switching. Hard-switching
will probably be developed when it is needed, and right
now we are not calling out into external libraries.

I don't expect that to happen in the next half year, I'm
just expressing how I would like to move towards a more
flexible and configurable implementation.

cheers - chris

-- 
Christian Tismer             :^)   <mailto:tismer at stackless.com>
tismerysoft GmbH             :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 802 86 56  mobile +49 173 24 18 776  fax +49 30 80 90 57 05
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/

_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless



More information about the Stackless mailing list