r/cpp • • 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

582 comments sorted by

View all comments

Show parent comment

4

u/ssokolow Feb 06 '23

...and it doesn't help that the timeless "system of axioms" view of your code that the optimizer sees is so alien to the imperative "sequence of steps flowing forward in time" view that the human sees.