tool-conventions icon indicating copy to clipboard operation
tool-conventions copied to clipboard

Meaning of "natural alignment" is unclear

Open RalfJung opened this issue 7 months ago • 7 comments

The CABI documentation uses the term "natural alignment" of a type without defining its meaning. Talking to different people I have encountered two common meanings of this word:

  • it refers to the default alignment the type has without adding any alignment-modifying attributes
  • it means the alignment equals the size of the type

For the sake of clarity of this spec, it would be good to spell out exactly which meaning is intended here.

RalfJung avatar Mar 17 '25 16:03 RalfJung