Other languages do that: JavaScript, PHP, Erlang.
Python multiprocessing is pretty usable.
I like multithreading, but also...it has more footguns then the rest of programming combined. [1]
I'm not convinced Python's approach is that bad in practice.
Python multiprocessing is pretty usable.
I like multithreading, but also...it has more footguns then the rest of programming combined. [1]
I'm not convinced Python's approach is that bad in practice.
The time it got me was a thread just to timeout another process. Tests worked great but the timeout didn't work in production because the call it was wrapping was calling out to C code so nothing would run until the call returned. We even still got the timeout error in the logs and it looked like it was working (it even tossed the now waited for valid results), but not at the time of the timeout but after the call finally returned a few hours later.