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
-
Nexion126610yC developers, people dealing with certain microprocessors, if you're dealing with bit wise masks -
@Nexion Thanks. Sounds incredibly complicated to me. I can't imagine myself thinking in terms of anything other than base 10.
-
ttibensky7810yim using it quite often in php. for example to define a entity version = any combination of versions. each hint represents one field or a group. then you use bitwise to tell that i want this entity in a version which contains field1 field2 and fields from group1. that could be 1 | 2 | 4 = version 8. got it? -
lotd767110yI recall seeing some quite mind bogging use of bitwize in Doom( the game )s source code, dont quote med on that though, its just a hazy memory that popped up :p -
HelmetBro45510yI tried replicating the hufman tree gzip uses, and bitwise operators came in handy. With anything compression or microrocessing, bitwise operators are awesome.
Related Rants

So, my wife sends me this picture because our car had 111,111 miles on it. Of course she called me a nerd when...
Binary is easy to teach
EDIT: devRant April Fools joke (2018)
-------------------------
Hey everyone! As some of you have already noti...
Who the fuck uses bitwise operators? No, seriously. I want to know.
undefined
operators
binary