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 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
Related Courses
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity