The real issue here is aliasing not alignment. Don't break strict aliasing rules and it'll be fine even with misaligned pointers. The article mixed up the two separate issues together.
this post was submitted on 21 Aug 2023
5 points (100.0% liked)
Hacker News
2171 readers
1 users here now
A mirror of Hacker News' best submissions.
founded 1 year ago
MODERATORS