CppCon Making C++ Safe, Healthy, and Efficient - CppCon 2025
https://youtu.be/p52mNWsh-qs?si=Bz6pyW6d0SMLCZxVNow with some updated content since the ACCU talk, and the Q&A is nonetheless interesting.
55
Upvotes
View all comments
Show parent comment
-1
u/KFUP Jan 11 '26 edited Jan 11 '26
Not really sure what are you talking about here. He's talking about correctness, which contracts can help with, and not something rust or borrow checkers can help with.
His main talking point is that correctness should be considered a memory safety issue, which rust doesn't help with and ignores as not one. Worse was with memory leaks, as it was once considered a memory issue in rust in the early days, then magically stopped being a memory issue once they realized that the borrow checkers can't solve it, basically redefining memory issue as anything the borrow checker can solve, anything it can't is not is not a memory issue by definition, even memory leaks.
And no, "crashing is safe" is a terrible argument, try using that in a critical airplane software, and the plane will have a very memory safe crash with the ground once it runs out of memory because of a memory leak, not counting memory leaks as memory safety is insane.