2

Who the fuck uses bitwise operators? No, seriously. I want to know.

Comments
  • 3
    C developers, people dealing with certain microprocessors, if you're dealing with bit wise masks
  • 2
    @Nexion Thanks. Sounds incredibly complicated to me. I can't imagine myself thinking in terms of anything other than base 10.
  • 0
    seen them used quite a lot when going thru drupal 7
  • 0
    im 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?
  • 0
    I 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
  • 0
    I tried replicating the hufman tree gzip uses, and bitwise operators came in handy. With anything compression or microrocessing, bitwise operators are awesome.
  • 1
    Thanks for all the answers 😀
Add Comment