Comment Re:It depends on the challenge (Score 2) 24
Exactly. In the 90s we still used to try to optimize C code by using register variables and complex function structure that happened to suit the way the processor worked.
Then we stopped doing that because we realized the new compilers could optimize it a heck of a lot better.
Now we typically don't even write programs that generate machine code any more but feed everything into a VM that generates code on the fly.
I don't remember having to do any serious optimization for years, and it was mostly stuff like batching up messages so we weren't trying to process them one at a time with all the overhead of starting and stopping the processing operation each time.