Comment

Comment by oddurmagg

Stackless Python support Go style concurrency with tasklets( goroutines in go) and channels for scheduling and data passing between them.

Pypy now has stackless support, which makes it the obvious candidate for doing CSP style concurrency with python.

It will not however, scale that concurrency to execute in parallel in multiple cores, since it is still bound by the GIL.

If you want to stay with CPython, you could look at Gevent.

parent oddurmagg 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton