2 Comments
User's avatar
Cole Tobin's avatar

Some compilers will reorder fields in a type for memory packing/alignment purposes.

Expand full comment
borngraced's avatar

Rust does this

Expand full comment