Re:A Zig Diary
by AndyKelley on Wednesday January 11, 2023 @05:01PM
(#34345602)
Issues with packed structs are finally resolved in 0.10.0:
https://ziglang.org/download/0.10.0/release-notes.html#Packe...
That's putting it a bit mildly from what I recall the last time I used them. They work on LE if you don't color too far outside the lines, but otherwise I would describe their state as "almost completely broken".
Field ordering being endian dependent, while historically how things are done with bitfields, seems questionable to me anyways.