Hacker News new | ask | show | jobs
by cdavid 4736 days ago
If you think twisted is a solution to the problems mentioned in the OP, you haven't understood the problem. Twisted may be a solution to IO bound processes, where you do cooperative parallelism instead of preemptive (aka threads). It is utterly useless for CPU bound processes (e.g.: you want to compute some expensive operation on top of a big numpy array, twisted does not help you with that at all).
1 comments

Twisted would work perfectly for the message passing example given in the article.