Sujet : Re: Top 10 most common hard skills listed on resumes...
De : jameskuyper (at) *nospam* alumni.caltech.edu (James Kuyper)
Groupes : comp.lang.cDate : 09. Sep 2024, 21:56:31
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbnndv$2hv87$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Mozilla Thunderbird
On 9/9/24 12:46, Waldek Hebisch wrote:
...
Concerning '<stdint.h>', somewhat worring thing is that several types
there seem to be optional (or maybe where optional in older versions
of the standard). I am not sure if this can be real problem,
but too many times I saw that on various issues developers say
"this in not mandatory, so we will skip it".
You're missing the point behind the optionality of those types. A lazy
implementor could do as you say, but will save themselves almost nothing
- the time it takes to insert an appropriate typedef in <stdint.h> is
quite negligible. Those types are optional because there's some
platforms with no hardware support for anything that would meet the
requirements for those types, and for which software emulation would be
too difficult. In general, on any implmentation that fails to provide
one of the optional types, there is no mandatory type that will do the
same thing that you wanted the optional type for.