|
|
Log in / Subscribe / Register

Memory-safe C code

Memory-safe C code

Posted Nov 18, 2025 0:45 UTC (Tue) by khim (subscriber, #9252)
In reply to: Memory-safe C code by alx.manpages
Parent article: Rust in Android: move fast and fix things (Google Security Blog)

Well… you are proposing to add something that took more than a decade of development, that both including people with PhD and was deemed novel enough and complicated enough to warrant new PhD and professor's position in a prestigious college and you call all that some more work needed to make it perfectly safe?

I honestly don't know whether to laugh at naïvety or applaud the audacity… developing rules that would be both airtight and ergonomic to use is hard… and given the fact that you still need to rewrite more-or-less all the code after you'll do it… adoption would be EVEN HARDER.

Don't get me wrong: if you would manage to retrofit enough markup in C to make it memory safe and then manage to convince people to actually adopt the result (the harder part)… it would be huge achievement, gigantic achievement, awe-worthy achievement, but… I don't hold my breath. Chances of that happening are almost zero.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds