4 ms·
Because the runtime with the GIL is more performant and python users know that it's practically impossible to write correct software using threads.
by lmm 11y ago
Because the runtime with the GIL is more performant and python users know that it's practically impossible to write correct software using threads.
- scardine 11y agoYes, this is the point. The GIL matters only if you are using threads with CPU-bound tasks (most of my work is I/O bound). When I have CPU-bound problems that need parallelism and are not yet well implemented in numpy/scipy, I would ratter use AMQP instead of threads.