3 ms·
> basically nobody uses Python threads Not true at all. Plenty of people (including me) use threads in Python for: * Blocking I/O * CPU heavy libraries writt
by quietbritishjim 3y ago
> basically nobody uses Python threads
Not true at all. Plenty of people (including me) use threads in Python for:
* Blocking I/O
* CPU heavy libraries written in C (as those release the GIL)
They work fine, even with the GIL. They only work badly if you want to run a lot of pure-Python (non-I/O) code in multiple threads - which, fair enough, sometimes you might want to do, and the GIL is a problem for that.