YoVDO

The Gilectomy

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Benchmarking Courses CPython Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the challenges and implications of removing Python's Global Interpreter Lock (GIL) in this 46-minute EuroPython 2016 conference talk. Delve into the history of the GIL, its impact on CPython's performance, and the experimental "gilectomy" branch that successfully removes it. Learn about the technical and political considerations involved in GIL removal, including tracing garbage collection, software transactional memory, and the handling of globals and statics. Examine benchmark results comparing GIL and GIL-less implementations, and gain insights into the performance trade-offs and potential optimizations. Discover the complexities of multi-core Python execution and the ongoing efforts to balance speed with parallel processing capabilities in CPython.

Syllabus

Intro
preface
revisiting the gil
gil ramifications
the world has changed
python hasn't
your computer's resources
the "free-threading" patch
four technical considerations
three political considerations
tracing garbage collection
software transactional memory
globals and statics
cext parallelism & reentrancy
atomicity
lock api
what needs locks?
userspace locks
two builds
two entry points
don't make it too complicated
it isn't easy to remove the gil
how to remove the gil
language summit benchmarks
gilectomy's official benchmark
what fib exercises
gil vs gilectomy, wall time
gil vs gilectomy, cpu time
what makes cpus fast?
cache never stays warm
buffered reference counting
remote object headers
final thoughts


Taught by

EuroPython Conference

Related Courses

Investment Strategies and Portfolio Analysis
Rice University via Coursera
Advanced R Programming
Johns Hopkins University via Coursera
Supply Chain Analytics
Rutgers University via Coursera
Технологическое предпринимательство
Moscow Institute of Physics and Technology via Coursera
Learn How To Code: Google's Go (golang) Programming Language
Udemy