By pkrumins
via catonmat.net
Published: Jun 30 2009 / 17:15
I decided to write an article about a thing that is second nature to embedded systems programmers - low level bit hacks. Bit hacks are ingenious little programming tricks that manipulate integers in a smart and efficient manner. Instead of performing some operation (such as counting the 1 bits in an integer) by looping over individual bits, these programming nuggets do the same with one or two carefully chosen bitwise operations.
Add your comment
Voters For This Link (10)
-
pkrumins -
bloid -
mswatcher -
jetm -
nenorbot -
jmagiera -
davneter -
Ananth Chellathurai -
witherspoon -
estherschindler


