[Pythonmac-SIG] Pystone numbers for different Macs...

Kent Johnson kent37 at tds.net
Mon Jan 21 14:33:32 CET 2008


Daniel Lord wrote:
> My point was that, as I understand it, thanks to the GIL--Python  
> cannot easily take advantage of multi-cores period even when the  
> program uses multiple threads--it it is a limitation of the  
> implementation of the language interpreter. I guess that tells us we  
> ought to write multi-core code in C/C++/ObjC instead. Either that or  
> Python's implementation needs to embrace threading more expansively.  

Or don't use threading for multiprocessing. Current best practice seems 
to be to use a multiprocessing model to distribute Python programs. 
There are quite a few add-on packages which support this:
http://wiki.python.org/moin/ParallelProcessing

Kent


More information about the Pythonmac-SIG mailing list