Sujet : Re: technology discussion → does the world need a "new" C ?
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 07. Jul 2024, 03:39:50
Autres entêtes
Organisation : None to speak of
Message-ID : <87jzhyt1y1.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8
User-Agent : Gnus/5.13 (Gnus v5.13)
bart <
bc@freeuk.com> writes:
[...]
There's no 'byte' type. There's an odd selection of *5* char, short,
int, long and long long types which cover the *4* 8/16/32/64 bit
sizes.
You're right, there's no type named "byte". Nobody said there was.
You wrote that "C didn't define a 'byte' at all.". You were wrong.
C defines the word "byte" and uses it extensively.
[...]
My point was that this evolution was apparent at least 40 years ago.
And there are still C implementations with CHAR_BIT > 8, mostly for
DSPs. Please feel free to ignore them, but don't ask everyone else to
pretend they don't exist.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */