I just killed GIL!!!

Steve Holden steve at holdenweb.com
Thu Apr 17 04:12:00 EDT 2008


sturlamolden wrote:
> Hello Guys...
> 
> I just had one moment of exceptional clarity, during which realized
> how I could get the GIL out of my way... It's so simple, I cannot help
> wondering why nobody has thought of it before. Duh! Now I am going to
> sit and and marvel at my creation for a while, and then go to bed
> (it's past 2:30 a.m.) Tomorrow I will contemplate whether to sell this
> little secret for big bucks, give it away for free, or just keep it to
> myself... :-)
> 
> Now you are probably thinking I reinvented the gunpowder, and are
> running multiple processes. Not so. I am not running parallel
> processes, like parallel python or the processing module in cheese
> shop. I am running multiple THREADS. In fact, I am just using
> threading.Thread. The source code is pure Python, so there is no C
> magic, and I only used the stuff that's already there in the standard
> library. So, I just made CPython do what everyone claim to be
> impossible. One single process of CPython is using all the cpu power
> of my dual-core laptop.
> 
Quick, write it down before the drugs wear off.

Sorry. I'm definitely a skeptic on this story. Put up or shut up.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/




More information about the Python-list mailing list