增强版的 Python 编程语言:Stackless Python

jopen 12年前

Stackless Python 是一个增强版的 Python 编程语言,允许程序员受益于基于线程的编程,而不会有一半线程的性能和复杂的问题。其最大的特点就是微线程,可避免使用操作系统线程导致的开销过大的问题。

  • Microthreads: tasklets wrap functions allowing them to be launched as microthreads.
  • Channels: channels can be used for bidirectional communication between tasklets.
  • Scheduling: a round robin scheduler is built in. It can be used to schedule tasklets either cooperatively or preemptively.
  • Serialisation: tasklets can be serialised to disk through pickling for later resumption of execution.

 增强版的 Python 编程语言:Stackless Python

项目主页:http://www.open-open.com/lib/view/home/1348630357400