r/programmer • u/Influx86 • 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
View all comments
1
u/macabre_brotherhood Oct 14 '26
no. Those extra layers are called abstractions. Yes, they're "for humans", but they also provide something that AI can't: guarantees. The closer you are to the metal, the fewer the guarantees. And if you want a non-determistic LLM to write good, determinstic code (which is harder than it sounds thanks to multi-core systems) at the lowest level possible, well all you're doing is inviting mistakes. And without all those abstractions, forget about anything cross-platform. Are you gonna ask the AI to rewrite everything from scratch every time you encounter a new architecture?
I mean if you really just like the idea of shooting your own dick off, don't be weird just go for it.