~/talk

Beyond the GIL: Python’s Journey to Free Threading

Talkat PyCon Israel 2025 · on Tuesday, 2025-09-09· [python, concurrency]
links:none on file
slides:none on file

Python becomes optionally runnable without the Global Interpreter Lock under PEP 703, turning the GIL off in experimental builds and showing real multicore speedups: a 50M CPU loop with 10 threads drops from ~10s on a standard build to ~1s on the 3.14 T no‑GIL build. Achieved by biased reference counting, immortal objects, deferred refcounting, a single‑generation GC, per‑object locks and optimistic fast paths; single‑thread overhead falls from worst‑case ~40% toward a target of ≲10%. The feature is experimental, not yet default.

AI-written summary · about

  1. 0:00Introduction to GIL removal
  2. 1:04What is the GIL and why remove it
  3. 3:40Challenges in removing the GIL
  4. 6:12Python 3.13 and no-GIL progress
  5. 8:48Technical changes for no-GIL
  6. 10:39Reference counting innovations
  7. 13:53Garbage collection and generations
  8. 15:24Per-object locks and deadlocks
  9. 17:10Optimistic access for lists and dicts
  10. 18:34Open challenges and future steps
  11. 20:00Summary and impact of no-GIL
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.