by api · 2y ago · 0 comments
There are formal languages that do more than Rust, but they're a lot less practical. Working on making a more practical one would be a useful exercise.
You can forbid unsafe at the Cargo.toml level in Rust. You can also just search a project for the keyword "unsafe" to subject all unsafe code to extra levels of scrutiny. Some orgs set commit rules where commits containing "unsafe" must be approved by more people or must pass through a security audit team.
No comments yet.