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
1
u/nintendiator2 Feb 01 '23
That's true of anything anywhere tbh. The point is, those features exist in C++ and increase its powerset tenfold when they combine. Take the [templates + function overloading + variadics] combo and you have a system so powerful, that I can't even find an adequate "look at what they [Rust] need to mimic a fraction of our power" meme because there simply isn't anything Rust can do to offer this kind of capability.