Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

While it won't fix all the security issues that C++ might have, given its C subset, the provided examples can be improved by enabling the hardened runtime configuration, built-in compiler analysis, which also validate use before initialisation (finally fixed in C++26).

Rewriting is not always an option, so improving one's code security is also something to be aware of.

Having said this and since the thread is about text handling, Microsoft has rewriten DWriteCore in Rust.



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

Search: