??? 07/27/06 08:31 Read: times |
#121147 - Defintely 'C'! Responding to: ???'s previous message |
Jan Waclawek said:
Russell Bull said:
If you do your code in 'c' - moving from one micro to another is a lot less painless than rewriting reams of assembler code. Sorry, Russell, for feeding the flames, but IMO this is the most common urban myth of embedded programmers. This is not an urban myth - it's just a misquote/misunderstanding. I'm assuming Russel's double negative was accidental, and he meant, "If you do your code in 'c' - moving from one micro to another is a lot less painful" I would qualify that as, "If you do your code carefully in 'c' - moving from one micro to another is a lot less painful" It's the same as the old "code written in assembler is quicker & smaller" chestnut: writing in 'C' allows you to make you code much easier to port - but the mere act of choosing 'C' as the language does not of itself guarantee portability! |
Topic | Author | Date |
How long we see 8051 | 01/01/70 00:00 | |
unofficial history of 8051 | 01/01/70 00:00 | |
History, or prediction? | 01/01/70 00:00 | |
It seems to gain, not lose | 01/01/70 00:00 | |
Does it matter? | 01/01/70 00:00 | |
Double negative? | 01/01/70 00:00 | |
to C or not to C | 01/01/70 00:00 | |
Defintely 'C'! | 01/01/70 00:00 | |
yeah, let's flame! | 01/01/70 00:00 | |
Defintely 'C'! | 01/01/70 00:00 | |
arguments | 01/01/70 00:00 | |
An example for 8051/AVR | 01/01/70 00:00 | |
contra-example for 8051/AVR | 01/01/70 00:00 | |
A slight mistake | 01/01/70 00:00 | |
stdint.h | 01/01/70 00:00 | |
That's your trouble, then! | 01/01/70 00:00 | |
Compiler independant | 01/01/70 00:00 | |
C is not better | 01/01/70 00:00 | |
bringing 2 togethert | 01/01/70 00:00 | |
Opening pandora's box | 01/01/70 00:00 | |
Learning C | 01/01/70 00:00 | |
for a beginner ...![]() | 01/01/70 00:00 | |
are You sure? | 01/01/70 00:00 | |
Portability and scars | 01/01/70 00:00 | |
I'm an ASM Guru but | 01/01/70 00:00 | |
why discuss the rare exception tha same apply | 01/01/70 00:00 |