~/talk

Lock Free Multi Core Performance with Behavior Oriented Concurrency

Talkat PyCon US 2026 · 2026-05-13..05-19· [python]
links:none on file
slides:none on file

Claims a lockless, deadlock-free model that gives real multi‑core speed on CPython 3.12+ by scheduling decorated functions across sub‑interpreters; implemented as the boc library and demonstrated with a Boids demo and a 14‑core benchmark that shows near‑linear scaling until OS contention (good scaling through eight cores). Shared state uses concurrent ownership cones serialized via XIData (serialization is the current bottleneck). Behaviors attach with the when decorator and the approach works end‑to‑end.

AI-written summary · about

  1. 0:00Behavior Oriented Concurrency intro
  2. 3:36Concurrent programming challenges
  3. 8:13Introducing Behavior Oriented Concurrency concepts
  4. 12:06Dining philosophers with BAC
  5. 15:12Concurrent ownership internals
  6. 17:16Behavior scheduling patterns
  7. 18:59BAC limitations and future
  8. 22:23BAC module performance
  9. 23:29Boids simulation demo
  10. 24:51Q&A on BAC and free threading
~/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.