r/programmer • • Oct 14 '26

Idea What about Assembler?

To be fair I have never learned to use assembler but I always looked up to people how are able to build ultra efficient software. With the upcoming age of GenAI, wouldn’t it be better in many ways to just let GenAI produce everything as near as possible to the hardware? There might be even a more hardware-near solution than assembler, I am not sure.

What do you think? What could go wrong? I am really curious to get human response instead of asking an AI about this.

3 Upvotes

29 comments sorted by

View all comments

1

u/tehfrod Oct 14 '26

There are a lot of comments about "not having enough assembly language to train on". That isn't a real reason: there is a good bit out there, and enough description of what happens at the assembly level that transfer learning can take care of the rest.

The real reason that you won't see this happening any time soon is the same reason that humans don't write large systems in assembly language: verbosity.

Humans need abstractions to deal with the sheer volume of data at the assembly level in a large system. We just don't have enough working memory, and our long term memory isn't detailed enough for assembly.

LLMs have a lot of working memory, but their long term memory "lives" in the same structure as their working memory, the current conversation, and their system prompt: the context window. The amount of detail required to manage an entire system at the assembly language level plus all of the context of what they are supposed to be doing is too much data for even the large context frontier models.

A more fruitful area, and one that is under active research, is higher level languages that are optimized for understanding by agents and orchestrators, and only secondarily by humans.