logoalt Hacker News

rayinertoday at 1:14 AM1 replyview on HN

How good are AIs at coding manual memory management? Is this a sea change in automatic memory management?


Replies

mtkleintoday at 1:56 AM

I have never seen Codex or Claude get manual memory management wrong. I used to be pretty fastidious about using leak sanitizer or other such tools to catch my own memory management issues, and while not quite useless, that sort of testing has dropped way down my list of worries the more I lean on LLMs. I am constantly surprised by how many formerly tedious or error prone tasks stopped being either of those, and I expect to see practice shift away from middle-safe languages like C++ to not just much more safe languages like Rust but surprisingly also to much less safe ones like C and platform specific assembly.