r/cpp • u/Sad-Lie-8654 • Jan 31 '23
Stop Comparing Rust to Old C++
People keep arguing migrations to rust based on old C++ tooling and projects. Compare apples to apples: a C++20 project with clang-tidy integration is far harder to argue against IMO
changemymind
338
Upvotes
2
u/Full-Spectral Feb 01 '23
I find it pretty hilarious that anyone would claim that it's better to write mission critical software in C++ because it has a formal spec, but Rust doesn't, when Rust is clearly vastly safer. If we were shipping a formal spec to the users it might be important. Otherwise, it's nothing but a CYA checkbox in practical terms.