~/talk

"Safety in an Unsafe World"

Talkat RustConf 2024 · 2024-09-10..09-13· [security, rust]
slides:none on file

Netstack3 is a pure‑Rust networking stack spanning 192,000 lines of code across 63 crates and dogfoods on ~60 devices for 11 months, yet uncovers only three bugs in eleven months. The talk argues for “X‑safety”: encode arbitrary safety properties in types—examples include reifying thread safety with an `unsafe` Send trait tied to an external `pthread_create`, and a lock‑ordering scheme with 77 mutexes and type-level LockBefore/LockAfter plus a macro that makes cyclic orders fail to compile, enabling a threads‑from‑1→4 flip without runtime bugs.

AI-written summary · about

  1. 0:00Welcome
  2. 2:13Netstack3 dogfooding
  3. 7:52Safety invariants
  4. 10:51Thread safety as abstraction
  5. 16:44Deadlock prevention in Netstack3
  6. 24:35Building safe APIs
  7. 27:11Future of safety
~/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.