Adarsh Divakaran
Python 3.13 was the first Python version released with a free-threaded mode. Although the default interpreter still utilizes the GIL, it provides provisions that enable us to run a free-threaded version of the interpreter with the GIL disabled.
Through this talk, we’ll set up and run the free-threaded interpreter, benchmarking it against the GIL-enabled version for various 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.
The free-threaded interpreter is a significant step toward removing the GIL, yet it's still underexplored in the Python community. It introduces true multi-threading as an optional feature in 3.13, and understanding its impact early will help developers prepare for what’s to come next.
Experience using concurrency primitives in Python like multiprocessing and threading.
プロフィール
Adarsh is a Python geek and an experienced Backend Developer with expertise in building APIs using Python. He is currently working as a Software Engineering Specialist in the Human Data team at xAI
Adarsh began his Speaker journey by presenting at the GraphQL Summit ‘22 and has spoken at various international Python conferences, including PyCascades, EuroPython, PyCon US, Djangocon, and FlaskCon.
Explore his professional journey and insights on his personal website and blog.