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
-
asgs11275328dThey haven't gone anywhere unless you or your employer decided to stop using for some reason
-
Lensflare17445328dI 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.
-
thebiochemic3012328dThey're quite nice, i use 'em to communicate with the rendering pipeline and pack directional context data in my current project
-
azuredivay1111328d@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 -
azuredivay1111328d@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 -
azuredivay1111328d@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 😩😩😩 -
lorentz15174328dhttps://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