Developing provably correct Rust code with Verus
2 days ago
- Rust offers performance and safety but not absolute correctness; Verus fills this gap by formally verifying Rust code against specifications.
- Verus is an open-source automated program verifier that checks Rust code for all possible inputs using mathematical proofs.
- Verus integrates with Rust source code, allowing developers to write specifications and proofs in Rust-like syntax with fast feedback.
- Verus can verify unsafe Rust code and concurrent code, proving safety and correctness beyond Rust's type system guarantees.
- Amazon uses Verus to verify critical components like those in the Nitro Isolation Engine and other infrastructure projects.
- Verus has been applied in various open-source projects including Vest, Verdict, CapybaraKV, Atmosphere, Anvil, and CortenMM.