"Secure Corroding with Rust"
summary
Slides and code live at securecode.rs and the talk walks through four concrete bugs with working examples: out‑of‑bounds checks that the Rust runtime aborts with a clear message, a C FFI call inside an unsafe block that can produce a segfault, null pointers handled by Option (Some/None) instead of raw checks, and concurrent increments fixed by Arc + Mutex plus an atomic refcount. The compiler, LLVM optimizations, and Clippy are used to turn many runtime errors into compile‑time rejections; examples use 10 threads and show the Go version producing inconsistent counts while the Rust variant compiles and behaves deterministically.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:15What is Rust and why it matters
- 5:25Meet Nelson Bighetti and security model
- 8:00Buffer overflows in C vs Rust
- 12:14Null pointer dereferences
- 18:43Dangling pointers and ownership
- 26:57Data races in Go vs Rust
- 36:35Defense layers and Rust safety
- 39:05Formal methods and Rust ecosystem
- 39:47Q&A and resources
