Stackless Python

From Wikipedia, the free encyclopedia

Stackless Python, or Stackless, is an experimental implementation of the Python programming language, so named because it avoids depending on the C call stack for its own stack. The language supports generators, microthreads, and coroutines.

Due to the considerable number of changes in the source, Stackless Python cannot be installed on a preexisting Python installation as an extension or library. It is instead a complete Python distribution in itself. The majority of Stackless' features have also been implemented in PyPy, a self-hosting Python interpreter and JIT compiler.

Stackless is used extensively in the implementation of the EVE Online massively multiplayer online game to provide for concurrency,[1] Civilization IV, as well as in IronPort's mail platform. Second Life is also beginning to use it.[2]

A new project page containing examples on Stackless usage and its integration with Twisted, PyQt, Networking and others have been created and hosted in Google Projects as Stackless Examples. This project has a wiki and a repository where the community contributes via Stackless mailing list.

[edit] See also

[edit] References

  1. ^ Combs, Nate (2005-10-14). Nested Worlds. Terra Nova.
  2. ^ Eventlet. Second Life Wiki. Retrieved on 2008-03-16.

[edit] External links