In another forum, there has been a lot of talk about the book ”Hacker’s Delight”, a book
focusing on low-level computer arithmetic and logic. In the sample chapter available online,
the author shows a large collection of bit manipulation formulas to achieve all kinds
of complex procedures on bitfields.
The text is fairly compact, and for someone like me,
who isn’t that familiar with thinking in terms of bits, it takes a while to understand
all the examples, but I think it is very useful to once in a while step away from
our high-level API’s, frameworks and design patterns, and get down to the bit level,
the level where stuff actually gets done.