Using python as primary language

Michael Bacarella mbac at
Fri Nov 9 00:22:53 CET 2007

> > How do you feel about multithreading support?
> >
> > A multithreaded application in Python will only use a single CPU on
> > multi-CPU machines due to big interpreter lock, whereas the "right
> thing"
> > happens in Java.
> Note that this is untrue for many common uses of threading (e.g. using
> threads to wait on network connections, or calling out to most common
> compute-intensive C extensions), where the GIL is released and
> multiple CPUs are used just fine.

It's true in exactly the case where you would gain the most benefit
from multiple CPUs.  So I'm not sure how uncommon that is.

More information about the Python-list mailing list