While it is true that compiling C is more complex than compiling
assembly it is all hidden from the user so there's no real perceivable
difference. That's what it's about. I'm not sure what C development
experience you have first hand but getting the 'hello world' equivalent
to compile and load using WinAVR/Stdio is close to trivial. I really
don't see how it could be simpler. The order of magnitude gain in
productivity comes at almost no cost.
An embedded platform is a TERRIBLE platform to learn a new language.
You'll never know why things aren't working, too many variables. You
need at least proficiency and preferably expertise in your programming
language before applying it to a restrictive platform like an AVR.
Sander
Mike Harrison wrote:
>
>
> The comment was about the devtools, not the language. A C compile/link
> process is inevitably more
> complex than an assemble one. Poor defaults/configs can make it a lot
> more complex than necessary.
>
> >I don't think that an embedded platform is the right choice for learning
> >C. Learn C on a PC (Linux, windows, Mac, whatever) and then apply those
> >skills to develop embedded apps
>
> NO NO NO!!!
>
> If you want to write for embedded, learn on that, preferably via
> assembler first so you understand
> the hardware. PC programming allows far too many bad habits to develop.
>
>Message
Re: [AVR-Chat] C programming on AVR
2008-03-22 by Sander Pool
Attachments
- No local attachments were found for this message.