piclist 2000\04\12\203307a >
Thread: Question: C vs Asm
www.piclist.com/techref/language/index.htm?key=asm
flavicon
picon face BY : Brandon, Tom email (remove spam text)



How can you compare C and Assembly? All you can do is compare a certain C
compiler (and\or programmer) with a certain Assembly compiler (and\or
programmer). It all depends on situation. The compiler(\programmer) and
project would have more influence than the language in most cases. If you're
doing DSP and you use a good C compiler with highly optimised assembly DSP
routines then it could easily be faster than your code cause someone spent a
lot of time writing good asm routines and they knew the architecture and the
problem better than you.

In general you CAN optimise assembly more than C in all cases but are you
better at optimising assembly than the people who wrote the C compiler?

Tom.

{Original Message removed}
<F08121B734E0D311804300105A7890F771CA@psynt.psy.unsw.EDU.AU>

See also: www.piclist.com/techref/language/index.htm?key=asm
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Question: C vs Asm

month overview.

new search...