Hacker News new | ask | show | jobs
by pjmlp 1145 days ago
Nothing that requires separate pointer and length will be safe, no matter how many times they keep going at it, unless it is backed by hardware memory tagging.
1 comments

That is undoubtedly true, but while we're waiting for the widespread acceptance of a C string library that defines a separate string type, or for the world to be rewritten in Rust or other safer languages, it's still possible to make incremental progress.
There is a reason why hardware memory tagging is now trending across all new hardware platforms.