Главная
Study mode:
on
1
Intro
2
preface
3
revisiting the gil
4
gil ramifications
5
the world has changed
6
python hasn't
7
your computer's resources
8
the "free-threading" patch
9
four technical considerations
10
three political considerations
11
tracing garbage collection
12
software transactional memory
13
globals and statics
14
cext parallelism & reentrancy
15
atomicity
16
lock api
17
what needs locks?
18
userspace locks
19
two builds
20
two entry points
21
don't make it too complicated
22
it isn't easy to remove the gil
23
how to remove the gil
24
language summit benchmarks
25
gilectomy's official benchmark
26
what fib exercises
27
gil vs gilectomy, wall time
28
gil vs gilectomy, cpu time
29
what makes cpus fast?
30
cache never stays warm
31
buffered reference counting
32
remote object headers
33
final thoughts
Description:
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.

The Gilectomy

EuroPython Conference
Add to list