@mos_8502 @jacqueline With RISC architectures I don't think assembly is that much faster than C - the architectures are designed to profiles of highly-used C code. 😉
But for CISC or LIW or VLIW or SIMD/SIMT, yeah, compilers are going to outperform humans on most code generation tasks, and when you factor in rework on assembly code bugs that a compiler would catch, it's no contest.
But macro assembly programming is *fun* - I learned programming in macro assembly and I'm still doing it to this day on a Raspberry Pi Pico. If one wants to go down that rabbit hole, I highly recommend Stephen Smith's Apress books on the subject.