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

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the cutting-edge parallel execution models introduced in Python 3.12 and 3.13 in this illuminating 39-minute talk by Anthony Shaw at PyCon US. Dive deep into the world of "sub interpreters" and "free-threading," understanding their potential to revolutionize parallel programming in Python. Learn how sub interpreters utilize a per-interpreter GIL to achieve faster parallel code execution than multiprocessing, and discover the implications of free-threading's optional GIL removal in Python 3.13. Compare these new models, addressing whether free-threading renders sub interpreters obsolete. Gain practical insights into implementing sub interpreters, their limitations, and the exciting possibilities of combining sub interpreters with free-threading. Witness a real-world application through the exploration of a multi-worker, multi-thread ASGI web server, complete with benchmarks against traditional web server architectures. Prepare to embark on an exhilarating journey into Python's parallel universe, leaving single-threaded constraints behind.

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.