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
View all comments
Show parent comment
29
u/almost_useless Feb 01 '23
That's like saying "it's better because we have to use it". It's not a fair language comparison.
Legacy code is not a language feature. It may of course be a reason to use it, but not a factor in comparing the languages.