top | item 44268143

(no title)

holsta | 8 months ago

Wild. I evaluate LLMs about once per year, and can't wait for the generative AI bubble to burst.

I most recently asked for a privilege-separated JMAP client daemon (dns, fetcher, writer) using pledge() and unveil() that would write to my Maildir, my khal dir and contacts whenever it had connectivity and otherwise behave like a sane network client.

I got 800 lines of garbage C. Structs were repeated all over the place, the config file was #defined four times, each with a different name and path.

discuss

order

sysmax|8 months ago

You need to do it in smaller, incremental steps. Outline the overall architecture in your head, ask the AI to create empty structs/classes. Build it. Ask it to implement one part, leaving others empty. Test it. Ask it to add the next thing, and so on.

Every step should only affect a handful of classes or functions, that you can still keep in your head and easily verify. Basically, same thing as if you were doing it by hand, but at a higher abstraction level, so faster and less mentally tiring.

Shameless plug: I am working on a new cross-platform IDE designed for just this kind of workflow. It has basic C/C++ support already: https://sysprogs.com/CodeVROOM/?features=why

apwell23|8 months ago

> You need to do it in smaller, incremental steps.

This isn't the context of this particular thread through. Its this

"Claude just tears through problems at breakneck speed."

HPsquared|8 months ago

In think the people having success, probably have more experience with them. It sounds like "I tried using one of these new horseless carriages and it didn't go well, these things are useless"

Kiro|8 months ago

> Wild. I evaluate LLMs about once per year, and can't wait for the generative AI bubble to burst.

Strange thing to respond to people having great success with it. You clearly want it to fail, but why?

rmwaite|8 months ago

“Haters gonna hate”, as the old saying goes.