Re:Memory efficiency of parallel IO operations in Python
by nine_k on Tuesday March 13, 2018 @11:22AM
(#16576840)
In the case of Python, adding threading was accompanied by adding the Global Interpreter Lock (GIL) that protects mutations of all data structures. Because of this, you can use Python threads for I/O-waiting just fine, but can't use them for CPU-bound tasks.
A similar situation exists in Ruby.