Demystifying bitwise operations, a gentle C tutorial
I’ve found significant code in c/c++ where bitwise operations are done for things like division etc by shifting a certain way.<p>I Can imagine in the past, this was “faster”, yet clang/gcc can emit  the same by just writing a basic A/B function.<p>Seems the win goes to readability by reducing some of these old school hacks.<p>What say you, greybeards ?