News for hackers. Stuff that matters.
Re:Porting to GCC 14: C language issues by oconnor663 on Monday February 19, 2024 @01:30PM (#39433059)
> And that is what the C integer types are about, right, about being efficiently represented by the underlying hardware, not their exact bitwidth?

If you have one `short` argument to your function maybe. But if you have a `short[]` array, you probably do care about the memory layout of that array. You might need it to be compatible with some particular data format that you're trying to read/write. Same with a field of a struct, if that struct is used for parsing. A lot of C code does parsing like this.

There are no comments on this comment yet.