[IPython-dev] Musings: syntax for high-level expression of parallel (and other) execution control
Sun Sep 6 01:26:00 CDT 2009
Oops, I forgot to address this:
On Sat, Sep 5, 2009 at 11:22 PM, Fernando Perez <firstname.lastname@example.org> wrote:
>> scope and allows you to manipulate it. Is there any chance that the
>> GIL issue could be addressed using such a mechanism?
Certainly, but only a part of it and iff something like the unladen
swallow project is successful. That's what Apple's GCD is, after all:
they have no GIL in raw C/Objective C/C++, so they expose the GCD
dispatch machinery for users to easily express any coarse parallelism
they can find in their codes.
In fact, if the gil went away, Snow Leopard and children would become
a *really* nice environment to work in, since a set of GCD bindings
would make it possible to write python code whose threads get the
dynamic dispatching of GCD. I might even get a Mac! :)
More information about the IPython-dev