3 ms·
Can you please expand a bit on "Python for multithreaded things"? My understanding was that Python interpreter has a GIL, which limits the concurrency and perfo
by adharmad 13y ago
Can you please expand a bit on "Python for multithreaded things"? My understanding was that Python interpreter has a GIL, which limits the concurrency and performance.
- delluminatus 13y agoPython has a standard library called multiprocessing [1] that uses multiple processes (surprise!) to get around the GIL. [1]: http://docs.python.org/2/library/multiprocessing.html http://docs.python.org/2/library/multiprocessing.html
- Mithaldu 13y ago> My understanding was that Python interpreter has a GIL, which limits the concurrency and performance. Python is in that respect essentially the same as Perl with Coro built-in. ( https://metacpan.org/pod/Coro https://metacpan.org/pod/Coro )