News for hackers. Stuff that matters.
Re:"Hallucinating" AIs sound creative, but let's not celebra... by gaganyaan on Friday October 13, 2023 @08:34PM (#37877060)
I rely on code written by AI and verified by me, particularly when the code is finicky or tedious but verification is simple. LLMs are more reliable than you're trying to assert, but blindly copy/pasting AI-generated code is a recipe for pain, just the same as blindly copy/pasting human-generated code from SO.
Re:"Hallucinating" AIs sound creative, but let's not celebra... by pdonis on Friday October 13, 2023 @11:24PM (#37877837)
> I rely on code written by AI and verified by me

The "verified by me" part is crucial, though, yes?

I'm talking about people, whom I have seen posting here on HN in other threads on this topic, who leave out the "verify" step and just rely on the LLM code as it comes.

Re:"Hallucinating" AIs sound creative, but let's not celebra... by gaganyaan on Friday October 13, 2023 @11:51PM (#37877938)
Yes, verification (or trust) is crucial. Those posts may have elided the verification process they did, though. Unless we look at a specific post it'd be hard to discuss it.

To be more specific, I trust GPT-4 to handle tasks like "Rewrite this C++ struct into Rust". I still verify that it's correct as part of a normal code review process, but I trust GPT-4 in that scenario at least as much as I would a junior dev.