Unlocking the Parallel Universe: Subinterpreters and Free-Threading in Python 3.13
Offered By: PyCon US via YouTube
Course Description
Overview
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
Related Courses
Computer ArchitecturePrinceton University via Coursera High Performance Scientific Computing
University of Washington via Coursera Parallel Programming Concepts
openHPI Введение в параллельное программирование с использованием OpenMP и MPI
Tomsk State University via Coursera Parallel programming
École Polytechnique Fédérale de Lausanne via Coursera