Idea for removing the GIL...

Vishal vsapre80 at
Tue Feb 8 04:39:28 EST 2011


This might sound crazy..and dont know if its even possible, but...

Is it possible that the Python process, creates copies of the
interpreter for each thread that is launched, and some how the thread
is bound to its own interpreter ?

This will increase the python process size...for sure, however data
sharing will remain just like it is in threads.

and it "may" also allow the two threads to run in parallel, assuming
the processors of today can send independent instructions from the
same process to multiple cores?

Comments, suggestions, brush offs  are welcome :))

I heard that this has been tried before...any info about that?

Thanks and best regards,
Vishal Sapre

More information about the Python-list mailing list