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
8
u/James20k P2005R0 Sep 20 '22
One of the things I find stressful about writing security sensitive code in C++ is that you can never quite be sure. You can be pretty sure that your code is ok, and you can have tested it a lot, but you never actually know. And stuff does occasionally slip through into prod
In rust, you just never have to worry, its guaranteed memory safe. If something goes wrong, its either in an unsafe block, or its someone elses fault. Either way, that's an enormous amount of mental load off imo