3 ms·
The general opinion is that you shouldn’t use threads unless really necessary. Processes or eventlets are usually preferable. Python is not the only high-level
by hynek 14y ago
The general opinion is that you shouldn’t use threads unless really necessary. Processes or eventlets are usually preferable. Python is not the only high-level language with this "problem" btw.
FWIW, my personal opinion is that the future of threading in Python lies clearly in PyPy and STM. Their performance is nuts and the contributors are smarter than both of us. At some point the STM overhead simply won’t matter.