~/talk

Unsafe Rust

slides:none on file

Rust reduces many memory-safety bugs but no formal memory model exists so undefined behavior invalidates all program guarantees; evidence: 10% of Rust kernel code is unsafe and foundational abstractions can be 30–50% unsafe; Rust Edition 2024 forces unsafe on many attributes (extern, no_mangle, link_section); practical issues include pointer provenance, uninitialized reads via assume_init, function-pointer identity, memory leaks and stack overflow; tools cited: Miri and Clippy; unsafe remains necessary for system programming and unsettled for safety assurance.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:09Functional safety in automotive systems
  3. 5:05Rust memory model and safety guarantees
  4. 8:22Limitations of Rust memory safety
  5. 12:21Undefined behavior in Rust
  6. 17:44Language vs library undefined behavior
  7. 22:04Rust's unsettled and experimental nature
  8. 28:47System programming and unsafe Rust
  9. 34:07Pointer provenance in Rust
  10. 37:45Unsafe requirements in Rust 2024
  11. 39:10Rust memory model specifics
  12. 41:37Summary and conclusion
~/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.