Understanding the Python GIL

127,540 views

About this video

Hand-picked by a BrighterTube curator · found via HackerTube (Karpathy's dataset of videos Hacker News recommends · 88% confidence

David Beazley instruments CPython to show how the Global Interpreter Lock schedules threads and why CPU-bound threaded code slows down on multicore; a famous myth-busting talk built on his own measurements.

David Beazley explains the Python GIL's actual behaviour with measurements, including its thread-switching pathologies.

Video by David Beazley, played through YouTube's embedded player.