[OT] Bit twiddling homework

xffox 0xff0x666 at gmail.com
Fri Jul 20 05:07:21 EDT 2018


On Fri, Jul 20, 2018 at 08:25:04AM +0200, Brian Oney via Python-list wrote:
> Therefore, what book or learning course do you recommend? I imagine something that tours or skims
> the fundamentals of Boolean algebra and digital logic, and then goes to C and some fun homework
> problems. It may seem to you that the emphasis there is wrongly placed. 

"Hacker's Delight" (please don't judge by the name):
https://en.wikipedia.org/wiki/Hacker's_Delight . It's a collection of
bit-level hacks. Figuring out each trick before reading the solution can
provide a list of fun homework problems. Hope it helps.



More information about the Python-list mailing list