|
|
|
|
|
by hot_gril
1005 days ago
|
|
Python manages to combine the worst parts of high-level and low-level programming when it comes to multithreading. Like it's using multiple OS-level threads with the associated overhead (not greenthreading like in JS), except it's locking to negate actual multiprocessing, but you still have to use mutexes about as much as in C (no event loop like JS), and the whole API feels low-level and convoluted. It's like they tried to abstract things but gave up halfway through. I like Python in general, but I avoid it for any kind of concurrent programming other than simple fan-out-fan-in. |
|