Rust as a Vehicle for Teaching and Formal Verfication
summary
Claims are concrete: letting the type system handle verification for programming in the large and reserving formal tools for small unsafe regions; experiments use an Infer front-end for incorrectness separation logic, dynamic checks with Miri and MiriLLI, and property‑based fuzzing around FFI. Results show Miri/MiriLLI work well when tests exercise the call boundary but need static analysis for broader coverage; a ten‑week course takes non‑CS students from hello world to a Nintendo emulator, using ungraded playgrounds, noisy individual specs, and peer‑pressured group projects.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:51Andrea’s Rust journey
- 6:06Rust’s aliasing model
- 8:11Teaching Rust’s aliasing
- 11:25Teaching Rust at TU Delft
- 17:47AI impact on Rust teaching
- 28:33Unsafe Rust with Miri
- 34:04Static analysis in Rust
- 38:38Closing thoughts
related talks
25mMiri: Practical Undefined Behavior Detection for Rust
59mWhat's the deal with unsafe Rust?
17mRefinedRust: A Type System for High-Assurance Verification of Rust Programs
21mMind the Boundary: Detecting Undefined Behavior Across Rust’s FFI
21mA Tour of Empirical Verification in Rust
58mRust for The Curious C++ Developers
31mValidating Rust for industry: Certification meets formal analysis
19mA Hybrid Approach to Semi-automated Rust Verification
