| ??? 06/05/02 22:31 Read: times |
#23974 - RE: pantyhose, Mahmood |
Conclusion is if you put your mind to it you can process data real fast in c and close to the speed of assembly!
That's the problem, Mahmood. You might be able to get "close" to the speed of assembly, but a 'C' compiler isn't going to ever be able to optimize every program as well as an experienced assembly language programmer. That is not to say that 'C' is useless. It does the job for projects that either are not seriously constrained by memory nor by timing. But there will always be projects that you can only do in assembly language. And even for those that you can write in 'C', a good knowledge of the underlying assembly language will allow you to write better 'C' code. Reverse engineering the assembly code produced by the 'C' compiler will also give you insight as to how the compiler is doing certain things--and this, too, will allow you to write better 'C' code using your compiler. Craig Steiner |



