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
- Limbo programming language - Inspired many aspects of Stackless, including channels.
- SCOOP (software) - Concurrency in the Eiffel language
[edit] References
[edit] External links
- Stackless Python Home
- Stackless Examples Project
- Stackless mailing list
- Stackless Python old site
- Introduction to Concurrent Programming with Stackless Python Tutorial on Stackless Python
- Multithreaded Game Scripting with Stackless Python by Harry Kalogirou
- Continuations and Stackless Python by Christian Tismer
- Stackless Python for Sony PSP by Carlos Eduardo