Grok the GIL: Write Fast And Thread-Safe Python
By: A. Jesse Jiryu Davis
Date: April 13, 2017, 8 p.m.
This is a sneak preview of a talk accepted to PyCon 2017, this June in Portland. A. Jesse Jiryu Davis is a prominent open source developer who has spoken at the last three PyCons, so this talk promises to be thorough, technical, and fun.
He describes the talk thus: "I wrote Python for years while holding mistaken notions about the Global Interpreter Lock, and I've met others in the same boat. The GIL's effect is simply this: only one thread can execute Python code at a time, while N other threads sleep or await network I/O. Let's read CPython interpreter source and try some examples to grok the GIL, and learn to write fast and thread-safe Python."
Jesse is a Staff Engineer at MongoDB in New York City specializing in C, Python, and async. Lead developer of the MongoDB C Driver libraries libbson and libmongoc. Author of Motor, an async MongoDB driver for Tornado and asyncio. Contributor to Python, PyMongo, MongoDB, Tornado, and asyncio. Co-author with Guido van Rossum of "A Web Crawler With asyncio Coroutines", a chapter in the "500 Lines or Less" book in the Architecture of Open Source Applications series.