Y
Hacker News
new
|
ask
|
show
|
jobs
by
assbuttbuttass
1033 days ago
Undefined and implementation defined are different in C. The number of bits in an int is implementation defined. Unaligned access is undefined.
1 comments
hedora
1032 days ago
See sibling comment. The alignment requirements are implementation defined, and any multiple is legal. 1 byte is definitely a legal multiple.
link
armitron
1031 days ago
Unaligned memory access is UB period, no ifs no buts.
link