??? 05/01/06 09:03 Read: times |
#115280 - Oh no, that old chestnut yet again! Responding to: ???'s previous message |
Vimal Amin said:
If application requires ... THE best results ... ASM is clear winner. Oh no, that old chestnut again! The mere choice to use assembler will not of itself guarantee "THE best results". Assembler is just a tool - if you don't know how to use it, it won't magically give you great code! Just the same as if I gave you a Steinway grand piano it wouldn't instantly make you a great pianist! You need to be a top-notch programmer to get "THE best results". As I have seen compiled C code, its always shoking. When did you last look? Did you look at the output from a quality, modern optimising compiler? Was it well-written embedded 'C' source, or was the programmer to blame for writing inefficient source code? Again, a compiler is just a tool - it takes a good programmer to get the best out of a compiler, too! It is always possible to look at the odd couple of lines of compiler output in isolation and say, "I could do better" - but you need to consider the entire program as a whole. |