EuroPython 2016

The Gilectomy

Speaker(s) Larry Hastings

CPython’s “Global Interpreter Lock”, or “GIL”, was added in 1992. It was an excellent design decision. But 24 years is a long time–today it prevents Python from capitalizing on multiple CPUs. Many people want us to remove the GIL.

It turns out, removing the GIL isn’t actually that hard. In fact, I already removed it, in my experimental “gilectomy” branch. But the GIL is one reason CPython is so fast! The “gilectomy” makes CPython shockingly slow.

This talk will discuss the history of the GIL, how the GIL helps make CPython fast, how the “gilectomy” removed the GIL, and some ways we might be able to make the “gilectomy” version fast enough to be useful.

in on Wednesday 20 July at 14:30 See schedule

Do you have some questions on this talk?

New comment