3 ms·
This is nothing new; letting an optimizing compiler do the heavy lifting has been the general-case recommendation for a long time now. But there are still circ
by paulmd 13y ago
This is nothing new; letting an optimizing compiler do the heavy lifting has been the general-case recommendation for a long time now.
But there are still circumstances where it's necessary to write assembly, particularly in things like real-time programming. Doesn't matter how good a job the compiler did on the overall program, if you can afford 16 cycles on an inner loop and the compiler spits out 24 then you've gotta hand-tune it.
- dllthomas 13y agoI wish there was more ability to specify the paths I really care about being low latency (even at the expense of throughput) and the like. As it is, it's rare that I drop below C, but more common that my C winds up restructured for what it happens to do to the output code.