~/talk

Tree Borrows

Talkat PLDI 2025 · 2025-06-16..06-20· [rust]
links:none on file
links:none on file
slides:none on file

Replaces Stacked Borrows’ stack with a per-allocation tree and formalizes aliasing rules so compilers can assume those violations are UB while accepting many real-world patterns. Evaluated on the 30,000 most popular crates, it rejects 54% fewer test cases than Stacked Borrows (≈6k → ≈3k violations), is implemented in Miri, formalized and proved for key optimizations (including read‑read reorderings) in Rocq, and ships as an artifact for reproducible testing.

AI-written summary · about

  1. 0:00Tree Borrows intro
  2. 1:27Rust optimizations and aliasing
  3. 3:57Aliasing violations UB
  4. 4:57Stack Borrows limits
  5. 8:03Tree Borrows model
  6. 10:09Trees vs stacks
  7. 12:16Detecting UB with Tree Borrows
  8. 13:19Permissiveness evaluation
  9. 14:26Real-world impact
  10. 15:31Q&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.