Compilers have become great at optimizing code, yes. If you translate your C code to assembly, you’re probably gonna have worst code than the compiler’s. The benefits from coding assembly come from a different design, not different translation.
The compiler can’t change the design to make it better, but you can if you design it thinking directly in assembly, IMHO.
Compilers have become great at optimizing code, yes. If you translate your C code to assembly, you’re probably gonna have worst code than the compiler’s. The benefits from coding assembly come from a different design, not different translation.
The compiler can’t change the design to make it better, but you can if you design it thinking directly in assembly, IMHO.
I have no idea about GPU programming, tho.