[Python-Dev] Ann: Stackless 2.2 pre-alpha is ready!

Christian Tismer tismer@tismer.com
Tue, 29 Jan 2002 01:58:09 +0100


Dear Python community,

Stackless Python 2.2 is alive!

This is the first alpha version.
It does not have any relevant changes to the interpreter.
It does not have any limitation on switching.
Support code for uthreads and coroutines is already implemented.

And as announced, it is completely platform dependant.
This version works on MS Win32 only.
I'm going to support other platforms if I can find some sponsors.

Let me say, it works great! There is no single problem. This
technique can be applied to any software, any interpreter,
provided I can support the platform.

*** This is a critical phase for Stackless! ***
*** I Am Asking For Corporate Sponsorships. ***

I don't know how things should go on.
I could turn it into a commercial product, Stackless is
enabled enough for this. Or I could continue to keep it
open-sourced, provided there is enough sponsorship.
This decision has to be discussed in the next two weeks,
after that I will decide.

Anyway:

Please check it out of CVS and have a look,
it is sooo small code now.
cvs -d :pserver:anonymous@tismer.com:/home/cvs co stackless/src

You might want to add -z9 since this is a full Python 2.2 checkout.

In this state, I don't prepare a distribution.
You can build Stackless from CVS. I also put a copy
of my python22.dll here for testing:
http://www.stackless.com/slpython22.zip

It is just almost 2 percent slower on my W2k machine.
The trick is to avoid stack switching as much as possible.
I do it only on every 8th recursion level, which is
more than what's usual.

 >>> def f(n):
...     if n:f(n-1)
...
 >>> import sys
 >>> sys.setrecursionlimit(100000+10)
 >>> f(100000)
 >>>

ciao - chris

-- 
Christian Tismer             :^)   <mailto:tismer@tismer.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Kaunstr. 26                  :    *Starship* http://starship.python.net/
14163 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
PGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF
        where do you want to jump today?   http://www.stackless.com/


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