~/talk

A Verified Thread-Safe Array in Rust

Talkat IWACO 2025 · on Tuesday, 2025-10-14· [rust]
name:Sasha Pak
links:none on file
links:none on file
links:none on file
slides:none on file

A verified thread-safe array API in Rust uses the Verus verifier and permission-based interior mutability to let shared references enable arbitrary parallel access without runtime checks. The implementation produces a usable array + ghost permission set, requires uses Arc for thread spawn support, and runs a parallel merge sort that is 0.8% slower than the runtime-checked slice-splitting baseline. The prototype is workable but verbose — 264 LOC with about half annotations — and cannot yet express general mutable-reference lifetimes.

AI-written summary · about

  1. 0:00Verified thread-safe arrays in Rust
  2. 1:06Borrow checker limits and thread safety
  3. 3:36Introducing Verus for verification
  4. 5:00Verified array API with permissions
  5. 7:09Parallel merge sort implementation
  6. 11:55Benefits of formal verification
  7. 13:21Code complexity and annotations
  8. 14:44Verus limitations and thread spawning
  9. 16:08Future work and sharing patterns
  10. 19:23Q&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.