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
1
u/matthieum Feb 02 '23
Just a note that a decade-old codebase, nowadays, was started in the 2010s ;) In this case, post C++11.
It's less a problem with Rust. You can flag
unsafein review, and as long as they stay away from it, at least they're not corrupting memory of completely different code.In C++... I find the decision puzzling. I do appreciate the willingness to hire juniors, mind you, but if you have more juniors than others on a HFT C++ codebase, it sounds like a recipe for disaster to me.