Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If LLMs have superhuman ability at finding and fixing bugs, what's the value proposition of Rust? Or TypeScript?

It seems like you'd either want to maximize runtime performance or devtime iteration speed.

 help



Type errors help maintain consistency when the LLM doesn't look at all the files. They're useful input for LLMs.

Declared input and output types also make code easier to read when you do look at code yourself.


I disagree with OP overall but they are highlighting these two languages because they partially verify the correctness of a program statically. They don't catch every issue, but they prevent many issues and their structure guides the programmer's thinking.

The LLM people IMO dance around this because it scuttles beliefs in LLMs' capabilities, but LLMs aren't reliable. Having a language that detects "you've hallucinated this method name/type/syntax/etc., haven't you?" provides a check on the LLM's fallibility. Not a guaranteed check, of course, as logic bugs can of course slip through that.

"LLM people" readily accept that they are not reliable, and thus have tools to make sure they are, like type safe languages. You're arguing against a strawman.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: