News for hackers. Stuff that matters.
Re:Packed structs in Zig make bit/flag sets trivial by alphazino on Tuesday August 30, 2022 @03:21AM (#32647566)
I don't have experience with this area, but...

> this would require that unions can work on the 'bit level' in packed structs

Just as Zig has packed structs, it also has packed unions. So that part shouldn't be an issue.

There are no comments on this comment yet.