[Tutor] Python on multicore machines

Lie Ryan lie.1296 at gmail.com
Fri Nov 27 14:04:57 CET 2009


On 11/27/2009 8:57 PM, OkaMthembo wrote:
> Hi All,
>
> Is there a python implementation that takes advantage of all cores on
> modern multicore machines?

yes, Cpython if you used "multiprocessing". Ironpython and Jython 
doesn't have GIL. Unladen Swallow plans to remove GIL.

Many minor python branch have been attempted to remove GIL, just as many 
are rejected for merging back to the main trunk since they slow down 
single threading. You might be able to find these patches from the 
internet and download the appropriate python source, patch them, and get 
python minus GIL.



More information about the Tutor mailing list