Idea: rename `bitpacked struct` \ `bitpack struct` to just `bits(u32)`
Ziggit
Idea: rename `bitpacked struct` \ `bitpack struct` to just `bits(u32)`
I know there is an ongoing topic to remove packed struct because someone a long time ago got confused with some old C byte packed api. But after this much time, I wonder if the change is still really needed? And if so, then why not go the whole hog, and replace two keywords with a single simple keyword such as bits that takes an unsigned integer type as it’s mandatory argument. I’d make it mandatory just because of how many times this has saved me with the many memory mapped registers I have ...
0 comments
No comments yet.