The GIL is Dead - PyPy-STM
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Explore the groundbreaking PyPy-STM implementation that eliminates the Global Interpreter Lock (GIL) in this EuroPython 2015 conference talk. Dive into Software Transactional Memory (STM) and its potential to revolutionize multithreading in Python. Learn how to leverage STM reports to identify and resolve conflicts in large codebases, enabling efficient utilization of multiple cores for non-multithreaded programs. Discover concrete examples and practical applications of PyPy-STM, including PITie and subprocessing. Compare STM with the traditional GIL approach and understand the novel programming model it introduces. Gain insights into running multiple threads, handling input/output operations, and optimizing performance in PyPy-STM environments.
Syllabus
Intro
What is PyPySTM
What is STM
What is PITie
PITie example
Subprocessing
Example
Multithreaded program
Multithreaded example
Conclusion
Running two threads
Input output
STM vs GIL
Model to program
Questions
Taught by
EuroPython Conference
Related Courses
A Brief History of Data StorageEuroPython Conference via YouTube Breaking the Stereotype - Evolution & Persistence of Gender Bias in Tech
EuroPython Conference via YouTube We Can Get More from Spatial, GIS, and Public Domain Datasets
EuroPython Conference via YouTube Using NLP to Detect Knots in Protein Structures
EuroPython Conference via YouTube The Challenges of Doing Infra-As-Code Without "The Cloud"
EuroPython Conference via YouTube