Now there is no excuses to not use Rust and it just shows in raw performance alone.
Now there is no excuses to not use Rust and it just shows in raw performance alone.
Eventually AIs will generate Assembly code directly anyway, no need for intermediate 3 GL languages.
Combine that with the fact that, unlike other code generators, LLM output can't as a rule be reliably reproduced from the original input in the future, sounds like a recipe for unpredictable long-term costs and regular regressions.
JIT compilers, GC workflows, PGO, and ML optimising compilers passes are also non deterministic, and yet work gets done.
If you are curious, there is already enough work out there into this direction.
For what its worth, Someone created an text editor application in pure assembly using AI (which is genuinely really cool!)[0]
To test this hypothesis, I tried to add scratchpad functionality to it and I was able to do so with an open source model almost autonomously by just having a single prompt which can have auto-saving, easy way to generate new files and its honestly really minimalist and that's the point while having multiple things as well and I personally really love it :-D[1]
I daily drive my scratchpad application and use it quite a lot
I was actually quite surprised by the fact that it actually worked and the fact that rhun itself can exist.
So it is possible that if AI agentic capabilities grow even further then assembly generation can be possible but I am unsure about preferred about some small use cases requiring pure minimalism.
But nonetheless, I think the way LLM's are trained, programming languages are good enough for them and they can express what they want to accomplish easily and without repeating themselves easily through it. I have thought about creating some more assembly applications but I just think that it would be a more token-intensive process, that's all.
Though pure speculation at this point but if some architecture optimizes for assembly (maybe speculative decoding extremely fine tuned to assembly?) or maybe some other architecture itself (world model?) who can express their ideas in better formats than tokens than perhaps its possible as code written in programming languages is much more token-efficient than assembly
[0]: https://rhun.app/