News for hackers. Stuff that matters.
Re:Optimizing Rust Struct Size by phkahler on Saturday April 15, 2017 @10:28PM (#14124036)
>> C supports bit fields in structs, but that feature is seldom used.

Every micro controller I've ever worked with has header files defining bit fields for hardware registers. It's a matter of what level you're writing for. I would expect Linux to contain tons of these.

There are no comments on this comment yet.