4 ms·
> packed struct being a bit wonky 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 outsi
by AnIdiotOnTheNet 4y ago
> packed struct being a bit wonky
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.
- AndyKelley 4y agoIssues with packed structs are finally resolved in 0.10.0: https://ziglang.org/download/0.10.0/release-notes.html#Packed-Structs https://ziglang.org/download/0.10.0/release-notes.html#Packe...