PyBeach 2026

Adventures in GIL-Free Python (finally!)

For the first time in the history of (stable) CPython, there’s options for concurrent processing in the same process: the GIL isn’t gone, but in select situations, you can definitely avoid it.

CPython’s global interpreter lock made CPython simple to implement and fast enough for most purposes, at the expense of threads (mostly) not being able to run in parallel. While this was fine for many people, it did keep a large number of problem spaces inaccessible to people using CPython.

Over the past few decades, brave maintainers embarked on many efforts to remove the GIL from CPython, but until recently, they all resulted in undesirable complexity in the interpreter and unacceptable slowdowns in single-threaded code. But recently, there’s been meaningful progress!

Starting with Python 3.14, there’s two ways to enjoy GIL-free Python: Subinterpreters have had independent GILs for a number of releases now, but without a good way to access them from within Python itself. Subinterpreters now have a Python-accessible API and they unlock Communicating Sequential Processes-style concurrency (like Go channels) without the overhead of entire new processes (like you have to with Python multiprocessing).

And more excitingly, there’s now free-threaded Python: Python can now be optionally built without a GIL, at the expense of a very slight slowdown in single-threaded code. Free threading requires specialised builds and isn’t the default (because it’s slower), but if you need actual threaded concurrency, the option is now there for you.

In this talk, we’ll look at the state of concurrent execution in Python: how to use both GIL-free options, how they compare to existing options, and what new workloads are now realistic to solve in Python. Slowly but surely, Python is getting faster. Find out how you can take advantage of it!

Christopher Neugebauer

Christopher Neugebauer is an Australian developer, speaker, and serial community conference organiser, who presently lives in the United States.

He serves as a Director of the Python Software Foundation, and is co-organiser of the acclaimed North Bay Python conference, a boutique one-track conference run in unusual venues — include an old vaudeville theatre, and more recently a barn on a farm — in Petaluma, California.