[Chicago] There once was a cute little GIL...

kirby urner kirby.urner at gmail.com
Thu Apr 9 22:27:19 CEST 2009

This looks really interesting and I regret getting off the track I was
on re concurrency as David's talk was right after this one:


My take on the matter is I hear more geeks saying "leave it to the OS
or other external process management framework and don't make Python
run threads, slim down the snake and just make a lot of 'em" (more
like 'Snakes on a Plane' which admittedly scares people, so better to
counter by thinking of it first, helps the plane fly better).

What I've been advocating re Synovate is just make the snakes compare
notes via async SQL, not Twisted exactly, but similar, make snakes
leave an audit trail, time stamps, basically cues.  Queen dispatcher
with many Worker Bees was my manga code for Patrick.  Gratifying to
learn from Lars of Mozilla that this is sort of how the Mozilla crash
analyzer works on the back end, if I understood aright.

Anyway, here's a picture of a Python on threads maybe (too greedy):

(scroll to bottom)
 (...on a Plane).

Hey, I know sometimes you need threads, asynch not always the answer,
just offering some perspective, feel free to shoot it down.

Back to lurking,


On Thu, Apr 9, 2009 at 6:45 AM, David Beazley <d-beazley at sbcglobal.net> wrote:
> ... and it kept all of the good little Python programs in line.  Well, all
> until they moved out to the burbs into a shiny new multicore subdivision.
>  Then the GIL ripped off its mask to reveal its true identity. "Holy smokes,
> it's ...."
> This message is just a friendly reminder that it's not too late to sign up
> for the "Concurrency Workshop" I'm  running next month in Chicago. Learn the
> exciting conclusion of this story and many others.
> - Learn why Python threads run worse on a multicore machine than on a single
> - Asynchronous I/O.  What is it good for?
> - The multiprocessing module--now part of the standard library!
> - More than you ever wanted to know about pickles
> - Generators and coroutines, oh yes.
> - Did I mention ctypes?
> - Unlimited coffee and snacks---all day long!
> Further details at http://www.dabeaz.com/chicago
> Cheers,
> Dave
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago

More information about the Chicago mailing list