News for hackers. Stuff that matters.
Re:Writing a website in Rust by milspec on Saturday May 30, 2015 @05:57PM (#9631900)
No, ill-defined non-portable C bitfields are evil.

If you can specify bit endianness, byte endianness, spans of bytes, and so on... bitfields are mighty nice.

Re:Writing a website in Rust by aswanson on Saturday May 30, 2015 @06:11PM (#9631953)
But the thing is...the spec is ill-defined in C, and given the fact the C runs on almost any processor, you can't specify endianess in the abstract and pandemonium ensues.