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.I Can imagine in the past, this was “faster”, yet clang/gcc can emit  the same by just writing a basic A/B function.Seems the win goes to readability by reducing some of these old school hacks.What say you, greybeards ?