Talks

Demystifying the GIL

Friday, May 15th, 2026 5:15 p.m.–5:45 p.m. in Grand Ballroom B

Presented by

Bruce Eckel

Description

Python 3.14 makes it easy to invoke a version of the interpreter without the Global Interpreter Lock (GIL). This makes it especially important to understand the GIL and how it affects your code, otherwise you’ll encounter surprises when attempting to write code without the GIL. This presentation introduces the GIL for Python novices and covers issues you must know to begin understanding the challenges of switching to GIL-free Python. We’ll explore how the GIL maintains reference-counted garbage collection, then look at how Python’s different concurrency strategies solve different kinds of problems. The heart of this talk shows how the GIL incidentally protects you from basic shared-memory concurrency errors, so you understand that removing the GIL will likely reveal those errors when you don’t expect them.

Search