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?

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.

0 reposts0 likes

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?

My hunch is that they can write machine code right now well enough. I've never seen any evals on it, though. One thing to consider is portability. Machine code is denser than source code, but I'd bet cross compiling source code to 50 distros is far cheaper from a compute perspective.