I just killed GIL!!!

Jonathan Gardner jgardner at jonathangardner.net
Thu Apr 17 13:16:05 EDT 2008


On Apr 17, 8:19 am, sturlamolden <sturlamol... at yahoo.no> wrote:
>
> An there you have the answer. It's really very simple :-)
>

That's an interesting hack.

Now, how do the processes communicate with each other without stepping
on each other's work and without using a lock?

Once you get that solved, I am sure the entire computing world will
beat a path to your door. (Hint: This is the kind of thing Stroustrup,
Guido, and Alonzo Church have thought a lot about, just to name a
few.)

By the way, you do know that you can recompile Python from source
code, and that you have the freedom to modify that source code. If you
want to remove the GIL and see what happens, just make the calls to
acquire and release the GIL do nothing. See how far that will get you.




More information about the Python-list mailing list