Comment on How to Think About Variables in CparentComments−150010090013y>int8, int16, int32, int64 are all explicit and force the compiler (and the hardware) to obey the wishes of the programmer.At least in C99, the compiler doesn't need to support exact-width integer types.>People make much ado about the fact that "a byte isn't necessarily 8 bits"Well, POSIX.1-2004 requires that CHAR_BIT == 8.
Comments
>int8, int16, int32, int64 are all explicit and force the compiler (and the hardware) to obey the wishes of the programmer.
At least in C99, the compiler doesn't need to support exact-width integer types.
>People make much ado about the fact that "a byte isn't necessarily 8 bits"
Well, POSIX.1-2004 requires that CHAR_BIT == 8.