Sulsa
2007-05-31 22:02:59 UTC
Na stronie http://www.python.org/dev/implementations/ znalazlem opis
roznych implementacji pythona jest tam miedzy innymi opisany stackless:
"""
Stackless Python is a fork of CPython, but not one that diverges very
far from the main tree. Christian Tismer rewrote the main interpreter
loop of CPython to minimize its use of the C stack; in particular,
calling a Python function in Stackless Python doesn't occupy any more
room on the C stack. This means that, while CPython can only recurse a
few thousand levels deep before filling up the C stack and crashing,
Stackless can recurse to an unlimited depth. Stackless is also
significantly faster than CPython (around 10%), supports continuations
and lightweight threads, and has found a community of highly skilled
users who use it to do things such as writing massively-multiplayer
online games. The Stackless Python home page is at
http://www.stackless.com.
"""
Wiec skoro Stackless jest znaczaco szybszy i posiada klika dodatkowych
przyjemnych funkcjonalnosci to czemu patche ktore umozliwily stworzenie
tej galezi interpretera pythona nie zostana wcielone do Cpythona?
roznych implementacji pythona jest tam miedzy innymi opisany stackless:
"""
Stackless Python is a fork of CPython, but not one that diverges very
far from the main tree. Christian Tismer rewrote the main interpreter
loop of CPython to minimize its use of the C stack; in particular,
calling a Python function in Stackless Python doesn't occupy any more
room on the C stack. This means that, while CPython can only recurse a
few thousand levels deep before filling up the C stack and crashing,
Stackless can recurse to an unlimited depth. Stackless is also
significantly faster than CPython (around 10%), supports continuations
and lightweight threads, and has found a community of highly skilled
users who use it to do things such as writing massively-multiplayer
online games. The Stackless Python home page is at
http://www.stackless.com.
"""
Wiec skoro Stackless jest znaczaco szybszy i posiada klika dodatkowych
przyjemnych funkcjonalnosci to czemu patche ktore umozliwily stworzenie
tej galezi interpretera pythona nie zostana wcielone do Cpythona?