I want to learn a new language...

Bryan Sant bryan.sant at gmail.com
Thu Feb 15 10:36:15 MST 2007

On 2/14/07, Jonathan Ellis <jonathan at carnageblender.com> wrote:
> > The other major architectural limitation in python is the GIL, a giant
> > lock that synchronizes calls to the interpreters core.  Thus
> > multithreaded programs can not utilize multiple processing units.  In
> > practice this usually isn't a huge deal.  I'd say much of the time a
> > multithreaded app is best done with an asynchronous library anyway, like
> > twisted.  But threads have their place.  Just be aware of this
> > limitation when doing heavy computations with python.
> Well, if you're doing heavy computation, it should be in a C library
> that releases the GIL properly.  So in practice this isn't as big a
> limitation as it sounds -- all the python stdlib that deals with
> blocking or disk-touching system calls does this, for instance.
> -Jonathan

Good to know.  Thanks Jonathan.

More information about the PLUG mailing list