Threading in Python

Andy andy at
Fri Jul 27 07:38:55 CEST 2001

There seems to be a lot of (arguably) radical changes
going on in the Python syntax/grammar/language, perhaps
the direction should be towards improving the internals

One thing Java has which Python lacks is transparent
support for multi-cpu threading.  Python has threads,
but I believe it is internally implemented and has
been shown not to take advantage of an SMP machine.

In Java otoh, when you use threads on an SMP machine,
it automatically takes advantage of multiple CPUs
(like BeOS).  This simple plasma benchmark applet

ran around 1.8x faster on my dual-Celeron machine
and the code was not even designed specially for
multiple CPUs in mind.

More information about the Python-list mailing list