Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Unlocking the Parallel Universe: Subinterpreters and Free-Threading in Python 3.13

PyCon US via YouTube

Overview

Explore the cutting-edge parallel execution models introduced in Python 3.12 and 3.13 in this illuminating PyCon US talk by Anthony Shaw. Dive deep into the world of subinterpreters, which utilize a per-interpreter GIL to enable faster parallel code execution than multiprocessing. Discover the revolutionary free-threading model (previously known as no-gil) in Python 3.13, which optionally removes the GIL for true parallel threading. Unpack the intricacies of subinterpreters, their usage, and limitations. Investigate the potential of free-threading and its impact on Python's performance. Examine a practical use case combining subinterpreters and free-threading in a multi-worker, multi-thread ASGI web server, complete with benchmarks against traditional web server architectures. Gain valuable insights into the future of parallelism in Python and how these advancements can revolutionize your coding practices.

Syllabus

Talks - Anthony Shaw: Unlocking the Parallel Universe: Subinterpreters and Free-Threading in...

Taught by

PyCon US

Reviews

Start your review of Unlocking the Parallel Universe: Subinterpreters and Free-Threading in Python 3.13

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.