Stackless Python
简介
Stackless Python 是 Python 编程语言的一个增强版本。它能让程序员获得基于线程编程的好处的同时,还不用考虑传统线程带来的性能和灵活性问题。由 Stackless 添加到 Python 中的微线程是一个便宜且轻量的便利工具,如果用得恰当的话,它能提供以下好处:
- 改良程序结构
- 增强代码可读性
- 提高编程速度
Stackless Python is an enhanced version of the Python programming language. It allows programmers to reap the benefits of thread-based programming without the performance and complexity problems associated with conventional threads. The microthreads that Stackless adds to Python are a cheap and lightweight convenience which can if used properly, give the following benefits:
- Improved program structure.
- More readable code.
- Increased programmer productivity.
相关链接
[http://www.stackless.com/ 官方首页] [http://www.python.org/workshops/2000-01/proceedings/papers/tismers/spcpaper.htm Continuations and Stackless Python Or "How to change a Paradigm of an existing Program"]
示例