3 ms·
Yes. Numpy releases the GIL for its array operations. Parallelism is possible, but only for computations in native code. FWIW Node.js is essentially the same
by paulddraper 7y ago
Yes. Numpy releases the GIL for its array operations.
Parallelism is possible, but only for computations in native code.
FWIW Node.js is essentially the same situation.
- nine_k 7y agoNode got background workers recently. Otherwise yes, Node or Ruby play by the same global lock rules.
- paulddraper 7y agoSame in Python, except multiprocessing has actually been around for longer. Launching multiple processes without mutable shared memory is always an option.