MIT Sloan AI Adoption: Build a Playbook That Drives Real Business ROI
Build the Finance Skills That Lead to Promotions — Not Just Certificates
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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