News for hackers. Stuff that matters.
Re:A Zig Diary by AnIdiotOnTheNet on Wednesday January 11, 2023 @01:47PM (#34342656)
> 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.

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...