HN2new | past | comments | ask | show | jobs | submitlogin

Each C/C++ guideline define language subset so de facto new language but with weak enforcement where in practice most organisations following it anyway create some specific exceptions from that guidelines. C/C++ world (C less) is a mess, it can't be fixed and this agony will be very long lasting.


Indeed. I don't want to be a shill but "safe C++" has a name, it's called Rust. C++ is such an incredibly complex language filled with such easy to set off footguns, that there is no way out of this mess without a non-backwards complete solution, like Rust.


A fun github repo: "what would MISRA look like applied to Rust" https://github.com/PolySync/misra-rust/blob/master/MISRA-Rul...

(They're comparing with the C version, not the C++ version...)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: