News for hackers. Stuff that matters.
Re:A bug story: data alignment in C on x86 (2016) by userbinator on Tuesday September 04, 2018 @10:29PM (#17914624)
> but on x86 int32* is 4 byte aligned.

It doesn't need to be. Anyone who has done x86 Asm knows that it is (with the horrible exception of SSE) pretty much completely insensitive to alignment.

expecting some mythical version of x86 where all types are 1-byte aligned.

It's real, and it's called "#pragma pack(1)"

There are no comments on this comment yet.