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
top 1 comments
sorted by: hot top controversial new old
[–] pftbest 1 points 1 year ago

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.