Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tinus_hn
· 7y ago · 0 comments
Most code is not portable at the assembler level and compiler hides this kind of detail.
Comments
[–]
api
7y ago
In C/C++ you can easily do stuff that violates alignment constraints unless you totally avoid casts or packed structs.
[–]
tinus_hn
OP
7y ago
If what you are doing has defined behavior the compiler will make it work, although more slowly.