Goodbye GIL: Exploring the Free-threaded mode in Python 3.13

Adarsh Divakaran

Python 3.13 was the first Python version released with a free-threaded mode. Even though the default interpreter still uses the GIL, it has provisions that allow us to run a free-threaded version of the interpreter with the GIL disabled.

In this talk, we’ll set up and run the free-threaded interpreter and benchmark it with the GIL-enabled version for various kinds of tasks. We'll assess the impact on single-threaded vs multithreaded code and test the performance across CPU-bound and I/O-bound tasks, aiming to identify scenarios where free-threaded Python excels.

About Adarsh Divakaran

Adarsh is a Python geek and an experienced Backend Developer with expertise in building APIs using Python. He is currently the Co-founder and Lead Consultant at Digievo Labs, where he provides Python and Software development consultation to global clients.

Adarsh started his Speaker journey by presenting at GraphQL Summit ‘22 and has spoken at various international Python conferences, including Pycascades '23, Europython, PiterPy, Djangocon US, and Flaskcon.

Explore his professional journey and insights on his personal website and blog.