Post

Any experts on #LLM who can shed some light on this? As we now can use ChatGPT and such to generate code for an entire application/system, why do we have to go through a high level language and not just generate machine code directly?

0 reposts3 likes

Given that LLMs are stochastic parrots of their training data, I assume the simple reason is that LLMs have no idea about machine code. Also the output is not reliable enough to omit the human in the loop, so do we really want that?

As opposed to the humans who are strictly logical? ;) I think we're beyond the point where we can claim that humans are superior at writing code. Also, doing this doesn't mean we would exclude testing.

The obvious exception is a web client, but for other targets this should be possible? Are we not doing this because the LLMs haven't been trained on application binaries?

1) isn't relevant. You're not speaking for everyone and there are plenty of people that trust the output from LLMs 2) might be relevant. I don't know enough of the limitations around LLMs to determine that. However, I can get it to write assembly code.

Yeah I get what you’re saying. But I’d caution against dismissing people because they don’t speak for _everyone_. I am an expert 😂 and while I trust LLMs for many things, me and most of my friends very much would not trust an LLM machine code output.

That's fair. I'm mostly interested from a technical point of view. Do you think the LLMs will get better at machine code eventually so that it is mostly about getting them trained on enough data?

Not close yet. See my last talk here that talks about language generation challenges and approaches (with java to kotlin, but similar scope). bsky.app/profile/tysm...

Ty Smith@tysmith.me

The video recording from my DPE Summit talk is now out and covers some of the cool AI Developer Productivity work we're doing. dpe.org/sessions/ty-...