Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The GIL is Dead - PyPy-STM

EuroPython Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Reviews

Start your review of The GIL is Dead - PyPy-STM

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.