|
|
|
|
|
by germandiago
206 days ago
|
|
It is true that it will never be Rust-safe level bit there is ongoing work: stl library hardening is in for C++26, there are some temporaries dangling that has been removed (range for lofetime extension and forbid conversion snd binding to temporary), there is a form of implicit contracts on the way (this means that even regular code can be compiled wirh implicit bounds checking, including arrays) and there is sn ongoing effort to remove all forms of UB. So I agree it has its quirks but if the defaults keep changing and improving it keeps evolving into a safer by default thing compared to before. No, I do not mean into you must be super-skillfull anymore: I mean that with all of that in, things are much safer by default. Things keep improving a bit slower than we would like (this is design by committee) but steadily. |
|