Unlocking the Parallel Universe: Subinterpreters and Free-Threading in Python 3.13
Offered By: PyCon US via YouTube
Course Description
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
Related Courses
Cloud Computing InfrastructureUniversity System of Maryland via edX Backend Web Development with Go: Build an E-Manual Server
Coursera Project Network via Coursera Monitor an Apache Web Server using Ops Agent
Google Cloud via Coursera Comprehensive Cloud Computing Foundations
Packt via Coursera Ultimate Guide to Raspberry Pi - Tips, Tricks, and Hacks
Packt via Coursera