Re: Microcontroller Project



On 27 Mar 2006 20:39:55 -0800, the renowned "David L. Jones"
<altzone@xxxxxxxxx> wrote:

Your choice, and that's fine. I'd rather halve my development time than
save a few bytes of RAM.

Compiled code is usually a bit *better* at RAM usage because the
compiler very agressively overlays automatic variables in functions.
Of course that doesn't help you with statics and globals.

OTOH, examples that show C being similar to assembly in code memory
usage and performance are usually contrived or do things that C does
rather well (eg. a TCP/IP stack).


Best regards,
Spehro Pefhany
--
"it's the network..." "The Journey is the reward"
speff@xxxxxxxxxxxx Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com
.