~/talk

Reference Counting Deeply Immutable Data Structures with Cycles

Talkat ISMM 2024 · on Tuesday, 2024-06-25· [concurrency]
links:none on file
links:none on file
links:none on file
slides:none on file

Claim: deeply frozen object graphs are collectible by reference counting by collapsing strongly connected components and maintaining single reference counter per SCC. Algorithm combines path-based SCC + union-find, runs almost linear (inverse-Ackermann overhead), and freezing costs ~2–2.5× a simple mark traversal in measured benchmarks. Prototype allocator and freezer is implemented, handles cycles precisely without backup cycle detector, and is practical for long-lived frozen structures (caveat: cache effects slow large graphs).

AI-written summary · about

  1. 0:00Deeply immutable data structures
  2. 2:10Reference counting with cycles
  3. 3:57SCC-based reference counting
  4. 7:31Algorithm walkthrough
  5. 10:01Performance analysis
  6. 12:54Shared immutable state apps
  7. 14:42Q&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.