Hacker News

Favorites Setup
Comment by bjackman | original | C for Rust programmers
[−]bjackman · 2026-10-11 Sun 09:33 UTC · link
I do tend to think people under use bitfields.

I suspect this is because they are usually introduced like "here are bitfields, but DO NOT USE THEM for anything that might become ABI because their order is implementation defined". I think that causes people to mentally file it under <sketchy language features to avoid> when actually there are many contexts where the ABI risk is not real.