THE PERSONAL INDEX / P C RANGARAJAN ↗
The space between fields.
See how field order and alignment change a structure’s layout.
Illustrative ABI: char 1 byte/alignment 1, int 4/4, double 8/8. Members align to their requirement; the structure rounds up to its largest alignment. Real layouts depend on compiler and target.
Shaded cells are padding. Reordering can reduce space but changes layout and may break an existing binary interface.
Keep exploring.
01 / MEMORY
Follow the pointer.
Step through addresses and values.
02 / DATA STRUCTURESA buffer that comes back around.
Push and pop without shuffling the array.
03 / C FUNDAMENTALSWhere the padding goes.
Reorder fields and compare the layout.
04 / INTERFACESWatch a byte travel.
UART framing and an SPI transfer.