|
|
|
|
|
by nindalf
702 days ago
|
|
Anything is possible in theory. In practice Rust codebases have high standards because it is easy to set up. For instance, most production users use clippy, which has a lint that will tell you if you're using unwrap() outside of test code. Clippy is so easy to set up, that you'd be silly not to. And this in addition to all the checks the compiler does for you for free. To answer your question - it's much easier to fall into the pit of success when using Rust. Sure C++ users could set up ASAN, UBSAN etc., but it's extra effort and many people don't bother. |
|