Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Anyone interested in branch-free code might like the book Hacker's Delight. Lots of examples of stuff like this in there.
 help



Highly recommend. The exampels are in c/c++ and the same concepts can be ported to other languages like golang.

My favorite part of it is Chapter 2 the bit manipulation tricks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: