logoalt Hacker News

jacquesm • today at 12:15 AM • 5 replies • view on HN

Why even assume that the most optimal programming languages for agentic coding are the ones that humans use? Maybe operate on ASTs directly? Some other form of programming that humans would find hard but that is a good fit for LLMs?


Replies

refactor_master • today at 1:06 AM

AI still makes mistakes on code with a trillion billion examples, but let’s invent a DSL that only AI can read and hope for the best?

➕ show 1 reply
kloop • today at 12:28 AM

Because human review is a serious bottleneck and optimizing something that isn't the bottleneck isn't helpful

landdate • today at 2:07 AM

LLM's are trained on human code though. Converting the code to its ast tree and training ai on that would be trivial of course, but I imagine there would be information that explains why something exists that would be missed.

jerf • today at 2:26 AM

I don't care if it's optimal for them. It's clearly good enough. We have, in hand, the ultimate in auditable AI output. We may not be able to audit how it got to the code it delivered, but it is really quite good at delivering code we can read. It would be very silly for us to give it up so that they can be somewhat more efficient or something, if they even would necessarily be that much more efficient.

To the point that I would support banning the creation of an AI-only language that can't be read by humans. Huge, huge, huge step in the wrong direction.

...

Naturally, it is probably inevitable.

But it's still a terrible idea.

conartist6 • today at 1:59 AM

Right on every count except that it needs to be bad for people