threading and multicores, pros and cons

Paul Rubin http
Tue Feb 13 23:49:48 EST 2007


Maric Michaud <maric at aristote.info> writes:
> If some guru has made a good recipe, or want to resume the main points it 
> would be really appreciated.

Basically Python applications are usually not too CPU-intensive; there
are some ways you can get parallelism with reasonable extra effort;
and for most of Python's history, multi-CPU systems have been rather
exotic so the GIL didn't create too big a problem.  Right now it is
starting to become more of a problem than before, but it's not yet
intolerable.  Obviously something will have to be done about it in the
long run, maybe with PyPy.



More information about the Python-list mailing list