Comment Re:The problem with assembly... (Score 1) 667
But it really depends on the requirements of the code that you are writing...
Coding a time-critical interrupt service routine is a lot different than coding an instant messenger GUI or a word processor. Sometimes knowing the base hardware and coding directly for it is the only way to get a task done. Knuth's optimization rule doesn't make sense if you are trying to squeeze every last cycle out of a hardware-specific routine.
As usual, no one methodology covers all cases. The right tool for the job, etc.
Coding a time-critical interrupt service routine is a lot different than coding an instant messenger GUI or a word processor. Sometimes knowing the base hardware and coding directly for it is the only way to get a task done. Knuth's optimization rule doesn't make sense if you are trying to squeeze every last cycle out of a hardware-specific routine.
As usual, no one methodology covers all cases. The right tool for the job, etc.