On the topic of #bitboards :
I have come across https://www.chessprogramming.org which has hacks to do things with 8x8 bitboards. In one of my blog posts I explain how I used bitboards in an AoC puzzle. It got me thinking, that I would like to write a little library, that supports some more operations like flipping and rotating bitboards. But not only 8x8, as it is not a chess library.
Do you know a well explaining resource about general methods for bitboards of arbitrary sizes?


