Founded in 2003, Chicago Python User Group is one of the world's most active programming language special interest groups with over 1,000 active members and many more prestigious alumni. Our main focus is the Python Programming Language. There are many ways to get and stay involved. Meetings are open to all levels. Our main (Loop) meetings are on the 2nd Thursday of every month at all different locations around downtown Chicago. We have SIGs (Special Interest Groups) in: Mentorship, Science, Web, and Financial.
Donate to ChiPy | Follow Us
Grok the GIL: Write Fast And Thread-Safe Python
A. Jesse Jiryu Davis
Experience Level: Intermediate
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.
Some of us like to hang out in the IRC #chipy channel on irc.freenode.net