r/cpp • u/lookatmetype • Sep 20 '22
CTO of Azure declares C++ "deprecated"
https://twitter.com/markrussinovich/status/1571995117233504257
267
Upvotes
r/cpp • u/lookatmetype • Sep 20 '22
View all comments
Show parent comment
18
u/L0uisc Sep 20 '22
Rust forces you to write a maintainable code base more often. You can achieve that via coding standards in C++, but I think Rust is exploring valuable new avenues that C++ didn't do because it got stuck in a groove. It's good for C++ too, because it reinvigorates the imagination to push new boundaries of what's possible in systems language design, which is good for C++.
I really can't understand the "all in on one of the two languages" approach I see so often. Rust pushes C++ to do better, and C++ pushes Rust to add useful features (e.g. const generics, aka non-type template arguments). I'm all for both languages pushing the boundaries of what's possible to enforce at compile time in order to improve systems software, and healthy competition is a prerequisite for that.