News for hackers. Stuff that matters.
Re:Poll: How many programmers don't know about bit-wise oper... by bradleyland on Monday April 08, 2013 @10:31PM (#5516112)
IMO, bitmasks are a more interesting and useful example of "bit level" programming. This is all because of this statement:

"Most compilers realize this and change our code to something like:"

I agree that it's important that we know, and keep in mind, what is going on behind the curtain, but using bitwise operations that would otherwise be performed by the compiler introduces uneccessary complexity.

There are no comments on this comment yet.