Comment by dzaima
2 days ago
Yeah, I meant specifically C in an ergonomic way with operators working on them and being passable to existing functions.
Though wrapping in different structs doesn't seem to even make gcc & clang properly optimize utilizing the types as non-aliasing: https://godbolt.org/z/r1MT9W9db. Clang just completely fails to do anything, but gcc somehow manages to reorder the load but not do the trivial part of constant-propagating afterwards..
No comments yet
Contribute on Hacker News ↗