~/talk

"Safety Goggles for Alchemists"

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

Describes a compiler-backed implementation that checks when one type can be safely reinterpreted as another, implemented as the TransmuteFrom trait (available on nightly) and an assume parameter to opt into checked dynamic guarantees; demonstrates zero-copy UDP header parsing and claims real-world nets stacks that used zerocopy saved copies and cut assembly to a quarter; reveals TryTransmuteFrom for auto-generated runtime checks and estimates reducing zerocopy’s 14,000 lines of unsafe proofs to about 1,400.

AI-written summary · about

  1. 0:00Introduction
  2. 1:54Zero-copy parsing with transmute
  3. 3:06Safe transmute crates
  4. 6:32SAFE transmute theory
  5. 10:02TransmuteFrom trait
  6. 11:11Safer transmutes with assume
  7. 13:08Reducing unsafe in zerocopy
  8. 14:16Dynamically sized types
  9. 15:02Automatic dynamic checks
  10. 16:11Portability challenges
  11. 16:55Call to action & Q&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.