[sdiy] The Chameleon Guitar
Matthew Smith
matt at smiffytech.com
Thu Apr 9 00:23:50 CEST 2009
Quoth Csaba Zvekan at 2009-04-09 07:14...
<snip/>
> Sure you loose performance
> the code is not as optimized as it would be in Assembler
<snip/>
I should probably point out at this juncture that the output of a DECENT
C compiler can be more efficient than hand-coded assembly.
Whilst assembly is - in theory - faster and more efficient than C, it
can only be so if it is well-written. You can programme badly in any
language ;-)
When you write in C, you are adding the skills of whoever wrote the
compiler/optimiser to your own. So you may start off with some
not-very-efficient C, but you can end up with a very efficient end-product.
But, as I said, it all depends on the quality of the C compiler, hence
my use of capitals in the first paragraph.
(End of obligatory input to any assembly vs C discussion ;-)
M
--
Matthew Smith
Smiffytech - Technology Consulting & Web Application Development
Business: http://www.smiffytech.com/
Blog/personal: http://www.smiffysplace.com/
LinkedIn: http://www.linkedin.com/in/smiffy
Skype: msmiffy
Twitter: @smiffytech
More information about the Synth-diy
mailing list