Re:PyCon 2015: Are we still changing the world?
by jaimebuelta on Monday May 11, 2015 @12:20PM
(#9525856)
GIL worries are not founded, most of the time.
Multithreads in Python works just fine for I/O bounded operations. Switch a multithread program to use multiple processes (and avoid GIL issues) is quite simple with the multiprocessing module[1] if you need to achieve 100% CPU usage.
In my experience, complains about the GIL are mostly FUD.
Multithreads in Python works just fine for I/O bounded operations. Switch a multithread program to use multiple processes (and avoid GIL issues) is quite simple with the multiprocessing module[1] if you need to achieve 100% CPU usage.
In my experience, complains about the GIL are mostly FUD.
[1]https://docs.python.org/2/library/multiprocessing.html