~/talk

How two teams are working together to make Python better for all

Talkat PyCon US 2025 · 2025-05-16..05-18· [python]
links:none on file
links:none on file
slides:none on file

Two concurrent projects aim to make CPython faster: one funded by Microsoft implements the PEP 659 specializing adaptive interpreter and a JIT with micro‑ops, the other funded by Meta removes the GIL via PEP 703 using biased reference counting, lock‑free reads, QSBR and a thread‑safe allocator. A per‑thread strategy like copy‑per‑thread bytecode avoids locks for specialization. Early nogil builds run ~0.7x without specialization and approach parity or only a few percent slower after work. Teams share benchmarks, code and weekly syncs to resolve intersections.

AI-written summary · about

  1. 0:00Two teams overview
  2. 1:26Faster CPython goals
  3. 3:11Adaptive interpreter explained
  4. 6:01Global interpreter lock removal
  5. 10:36Lock-free reads and memory
  6. 13:25Thread-safe interpreter state
  7. 15:32Free threading specialization
  8. 17:16Free threading performance
  9. 18:40Stack references improvements
  10. 19:44Collaboration challenges
  11. 21:08Benchmarking challenges
  12. 22:13Upstream contributions matter
  13. 23:17Communication and consensus
  14. 24:00Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.