Menu

Threadless, Unix-like processes using Python coroutines

The compstrm project now supports very light-weight Unix-like processes and pipes, implemented as coroutines using the Python yield statement and asynchronous programming techniques.

The result is super-fast code with all the convenience of threads but without the complexities. And cleanup is automatic, as these processes get garbage collected (unlike threads).

An integration with asynchat demonstrates how your asynchronous code can be untwisted, making it much easier to read and maintain.

The home page is http://compstrm.sourceforge.net

Posted by Bill la Forge 2004-05-05

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.