Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
asgs11563297dThey haven't gone anywhere unless you or your employer decided to stop using for some reason
-
Lensflare17095297dI don’t. If speed and size is not an issue, a Set data structure is much more convenient than having to deal with bit shifting and bitwise operations.
-
thebiochemic3019297dThey're quite nice, i use 'em to communicate with the rendering pipeline and pack directional context data in my current project
-
azuredivay1088297d@asgs they're still there, but as Lensflare said, they're obsolete now for majority of work-cases
saving a byte in DB or even in memory, doesnt make any difference now -
azuredivay1088297d@Lensflare yep, but still, the thrill of compacting SO MUCH into just a byte in DB was fun
using them now, even on server side code is flagged for unreadibility, plus the benefits are negligible -
azuredivay1088297d@thebiochemic in rendering you still get to make the most of the resources at hand
no longer a luxury for network-related projects where even the DB is across subnets
But yep, they're fun af 😩😩😩 -
lorentz15247297dhttps://docs.rs/packed_struct/...
I reckon you can fill one with bools and get all the performance with none of the code smells.
I miss bit-flags 😪
random