Comment by jcranmer
1 year ago
That's not a consequence of effective type (i.e., strict aliasing) rules, that's a consequence of pointer provenance rules. And a little more generally, it's a consequence of malloc having special object system behavior that there's no way to express in pure C code.
No comments yet
Contribute on Hacker News ↗