News for hackers. Stuff that matters.
Re:Memory Safe Languages in Android 13 by lolinder on Friday December 02, 2022 @09:46AM (#33831087)
Google isn't rewriting more now than they were before, they're just discussing the use of C/C++ for new code. Presumably, if rewriting chunks of code were enough in its own right, they would never have had so many critical security flaws.
Re:Memory Safe Languages in Android 13 by clnq on Friday December 02, 2022 @10:33AM (#33831836)
> if rewriting chunks of code were enough in its own right, they would never have had so many critical security flaws.

Reducing defects is one of the main reasons (others being maintainability, readability, better integration, and similar) for refactoring and rewriting code. There's usually not enough time/money to do it, especially for large codebases.

I quite like rewriting parts of a codebase to modernize it, and I have often closed tons of bugs in a short time this way. It is definitely effective. But not as cost-effective as deprioritizing bugs into "won't fix" territory, which is what many companies like to do.

Re:Memory Safe Languages in Android 13 by humanrebar on Friday December 02, 2022 @10:03AM (#33831375)
I also agree that it's a presumption. I don't know that I agree with it is all. It seems like more engineering attention and excitement is actually good for project quality, and maybe that's a confounding factor here. More data would help, though all this might never be definitively conclusive.