Stackless Python(スタックレス・パイソン)ないしは Stackless は Python プログラミング言語の実験的な実装系であり、自身のスタックとしてC言語のコールスタックに依存しないことから命名されている。

Stackless Python は ジェネレータ、マイクロスレッド、コルーチンをサポートしている。

ソースコードに多数の変更が必要なため、Stackless Python は既存の Python がインストールされた環境にエクステンションやライブラリとしてインストールすることはできない。それ自体が完全な Python の配布系である。Stackless の機能の大部分は、Python のセルフホスティングインタプリタでありJIT コンパイラでもある PyPy でも実装されている。

Stackless は大規模マルチプレイヤーオンラインゲームである EVE Online の実装において並行性を実現するためhttp://terranova.blogs.com/terra_nova/2005/10/nested_worlds.html、また Civilization IV や IronPort 社の電子メールプラットフォームになどで広い範囲にわたって使用されている。Second Life も使用し始めているhttp://wiki.secondlife.com/wiki/Eventlet。

Stackless の使用例や、Twistedフレームワーク、PyQt, Networking との統合方法を含む新しいプロジェクトのページが作成され、Stackless Examples という名前で Google Projects でホストされている。プロジェクトには wiki とリポジトリがあり、コミュニティがStackless mailing list を通じて協力できる。

出典

関連項目 Limbo - channel などの多数の概念について Stackless に影響を与えている。 SCOOP (software) (英語)- Eiffel プログラミング言語における並行性

外部リンク 以下、全て英語ページ。 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