Afficher un message
Vieux 21/10/2007, 08h57   #8
Wade Ward
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: C both slow and memory-hungry for embedded systems?



"CBFalconer" <cbfalconer@yahoo.com> wrote in message
news:47175D25.B0E10F8C@yahoo.com...
> Martin Wells wrote:
>>

> ... snip ...
>>
>> I think a fair few embedded programmers are starting to use things
>> like int_fastest_at_least_8 which are defined in C99.
>>
>> To be a fully-portable programmer both for PC's and for embedded
>> systems, should we start using these <stdint.h> types?

>
> No. They (and we) should avoid them. They are not portable,
> because they are not universally available (as are byte, int, long)
> and are also a C99 construct. Note that even a C99 system will not
> necessarily make those types available, because they are hardware
> dependant.

Interpersonal normative statement => philosophically unintelligible.

> because they are hardware
> dependant.

As, usual, you err.
--
wade ward
wade@zaxfuuq.net
"Der Katze tritt die Treppe hoch; Der Kater tritt sie krumm.%
% De Teufel geit um; er bringt de menschen allet dumm."
schau, schau


  Réponse avec citation
 
Page generated in 0,06212 seconds with 9 queries