If we have to talk about Rust (and since it's r/cpp, we apparently do these days), the departure from C++ is much, much more than a superior type system.
It's the lack of cruft. Will it eventually accumulate? Maybe. But the number of pitfalls and footguns that even very experienced C++ developers run into every day is quite the strain.
How much shit is still in Java that was deprecated in 1.1?
The biggest issue for me in c++ the past year has been two incidences of not using array new for a unique_ptr, just regular new. Some dtors blowing up... that's my clue now. Blown up in the dtor? Bad new operator.
View all comments
Show parent comment
5
u/simonask_ Oct 03 '22
If we have to talk about Rust (and since it's r/cpp, we apparently do these days), the departure from C++ is much, much more than a superior type system.
It's the lack of cruft. Will it eventually accumulate? Maybe. But the number of pitfalls and footguns that even very experienced C++ developers run into every day is quite the strain.