MISRust: Mapping MISRA-C++ Coding Guidelines to the Rust Programming Language

TL;DR AI
2 min readKey summary
Researchers mapped all 179 MISRA C++ 2023 rules to Rust and found that Rust already enforces many of the directly applicable ones.
Of the 111 rules directly applicable to Rust, 47.75% are automatically enforced by the language.
Another 69 rules still need direct application or adaptation; 36 of those are covered in safe Rust but matter again when unsafe Rust is used.
The study proposes Rust-specific replacements where existing MISRA C++ guidance does not fit, helping close a safety-guidelines gap for Rust in safety-critical systems.
