Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

I frequently rely on reading and writing uninitialized struct padding in code that compare and swaps the underlying struct representation with some (up to 128bit) integer.

I could use a union type, but that adds extra memory operations, and is finicky.

Is there a better way?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: