
To view parent comment, click here.
To read all comments associated with this story, please click here.
Assembler can be optimized better than most HLL's, but it should also be said that modern optimizing compilers produce better machine code than all but the most elite of programmers could, with a fraction of the effort. At some point, you have to determine how much it will cost to achieve perfect optimization.
With most modern processors (x86, x64, Itanium, ARM v8), this is no longer true.
The set of out-of-order execution conditions, parallel pipelines, types of SIMD instructions, multithreading, multiplecores, cache levels, NUMA memory is so big, that only genius would be able to do it for a specific processor/motherboard.
Assembly programming is only manageable by humans for the simple PIC processors, or some of the RISC models available in the market.
Looking at what programmers are mostly out there, who we can afford, how much we are willing to pay them, asm is infeasible. Usually, better for the code to be high level (that's also the case with C++ vs .NET)
Remember, 80+% of drivers think they are above average, and 95% of programmers think they are in the top 5%.
Member since:
2011-05-12
I stopped coding in the BASIC/Assembler period. BASIC was slow, Assembler was fast. So each time anything but Assembler is used I get the feeling things aren't as effective/fast as they could be.
But I promisse I will start learning a (modern) language.