Hacker News new | ask | show | jobs
by jjoonathan 1061 days ago
Yep, multiprocessing is a cope.

If processes were a universal substitute for threads we wouldn't have threads. That reasoning only gets stronger when you apply python's heavy limitations, but it gets the most strength when you experience the awkwardness of multiprocessing firsthand.

1 comments

There isn't much difference on Linux between threads and processes that share memory. Multiprocessing is fine, it's just slightly more isolated threads.
That's why I took special care to mention how python's multiprocessing module was particularly poor.