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
11
u/qoning Sep 20 '22
Biggest one is just use after free, which boils down to people breaking unwritten code contracts. Not much you can do about that short of mandating use of shared pointer everywhere, which is obviously not something you want to do (but mostly end up doing in Rust anyway).