3 ms·
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
by jjoonathan 3y 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.
- akvadrako 3y agoThere isn't much difference on Linux between threads and processes that share memory. Multiprocessing is fine, it's just slightly more isolated threads.
- jjoonathan 3y agoThat's why I took special care to mention how python's multiprocessing module was particularly poor.