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
-6
u/germandiago Jan 11 '26
This comment is not an isolated comment tbh. I have seen lots of comments and I can understand your preferences.
But sometimes you are just not objective. For you the paradigm of safety seems to be Rust. Which is ok.
But, as pointed out in another comment around here: you disregard some run-time checks as disastrous without metrics, yet mentioned in the past Google-only metrics for safety being conclusive about codebases.
Namely, you give selective credit (or not) to safety depending on the side of the story.
That is where my comment comes from. It is also obviated the fact that systems programming has lots of unsafe patterns and that Rust just helps by using unsafe blocks but now maintaining the invariants by hand is even more difficult than in C or C++, which do not have a borrow checker.
So in this context, Rust might be the worse solution given a properly modern C++ toolchain bc it gets a lot in the way.
Just to name a few things from the top of my head.
I am now reading Effective Rust, and so far I think the language is very reasonable and well structured. But I still think that in some ways it is more rigid. I need to go to the unsafe part in detail, but I already read and I think I mostly understand Rust traits, enums, iterators and most common traits.