« * K @endesga.bsky.social

ENDESGA @endesga.bsky.social

2026-08-02 09:52 UTC

In my C code I've gotten a little obsessed with "automated" bitfields, after discovering that you can use the auto-count trick in an enum to determine how many bits are needed to hold the values. Is there a better way to do this? I'm curious if anyone else has explored this...

1 picture (not shown on this phone)

6 likes, 0 reposts, 0 replies

3 Next post4 More from @endesga.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup