3 ms·
I frequently rely on reading and writing uninitialized struct padding in code that compare and swaps the underlying struct representation with some (up to 128bi
by hedora 7y ago
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?