logoalt Hacker News

imtringued • today at 12:37 PM • 1 reply • view on HN

>(and FWIW, currently I wonder how "LLM hardened" C code will compare to Rust, from what I've seen so far LLMs do a pretty good job at finding latent bugs and edge cases in C code, e.g. specific language properties might not play such a big role in the future as they did in the past)

Isn't this the ultimate self own? Saying that your language is so bad that only AI can help you fix your own code from containing severe security problems. The smart enough C developer isn't even human anymore.


Replies

flohofwoe • today at 12:52 PM

Writing C code by hand and have it reviewed by LLMs remains an enjoyable middleground. In that scenario, the LLM is just another static analyzer tool.

Typical Rust OTH is neither a joy to read nor to write for humans, so the LLM remains the only option to create and maintain Rust codebases ;P

Also memory safety isn't the only thing that matters, iteration speed and code simplicity might too, and large C code bases build infinitely faster and are also easier to read and understand than typical Rust or C++ codebases)

➕ show 1 reply