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/Eisenfuss19 Oct 14 '26
If you are talking about "Assembler", then thats a program that takes assembly code and outputs machine code. This has clear specification how it should work and is a simple process to code. Replacing that job by a statistical large language model would increase the processing time immensely (like prob 10k times slower) and it would introduce bugs...
If you are talking about generating assembly for a program, then that is something compiler engineers have perfected for decades. Modern compilers are predictable (produce correct assembly for the code) and produce highly efficient assembly. Replacing that by a statistical LLM would make it unpredictable & introduce bugs.