3 ms·
> there's little benefit to mixing it with threads > If you think something will block it you should check out "process pool executors." Note that its very t
by solidasparagus 2y ago
> there's little benefit to mixing it with threads
> If you think something will block it you should check out "process pool executors." Note that its very tricky to share resources like sockets between processes so its kind of another reason to avoid stuff like this.
Isn't that the benefit of no-gil? The ability to run CPU-intensive operations without incurring the overhead and friction of multiprocessing? Now you can do multicore processing while also having shared memory