Re:C Is Not Suited to SIMD
by Gibbon1 on Tuesday January 28, 2025 @03:13PM
(#42857353)
The memory layout is the ABI not the language spec.
[ Parent
| on HN ]
The language spec for C constrains the memory layout of a struct. From 6.7.3.2.7 of the draft spec:
> a structure is a type consisting of a sequence of members, whose storage is allocated in an ordered sequence, (emphasis added)