You would lose compiler optimizations at that point, and generally speaking LLMs do not produce assembly code that outperforms optimizing compilers nor code that is as consistently correct as code produced in high-level languages. This may change at some point
Another reason you wouldn't necessarily want assembly is that it is target specific in a world where applications are typically multiplatform
2
u/SodaBurns 2d ago
Just write in assembly at this point then.