bearophile wrote:
If you change the OS, on the same hardware, you have different representation length inside structs. And they can waste lot of space.
You're right that the amount of 0 padding changes between language implementations (not the OS), but the actual bits used in calculations stays the same, because after all, it's done in the hardware.