Hacker News new | ask | show | jobs
by Dwedit 1172 days ago
Did we ever legalize type punning?
3 comments

We have "pointer provenance" which allows license to track type punning across more of your program than ever before in order to delete more parts of it with no diagnostic required.

For bonus marks, int and atomic_int are unrelated types, and simd vector types aren't a thing, so enjoy the unfixable performance cost of choosing C.

cry

sob

But this will speed the transition to Rust.

Asking the real questions. Without looking I'm willing to bet the answer is "no, and stop asking".
Through union yes, I think