Coincidentally, a chess board has 64 squares. For example, one of them would describe where all white knights are (set to 1). Essentially, an array of 64-bit integers is used to represent a board position, with every one of them describing one aspect. It's a chess engine that uses what's called "bitboards" as the internal data structure (board representation). I chose GCC because it exists on all platforms, and it's certainly nice to only have to support one compiler.Īs for why I need 64-bit, my program gains about 50% performance boost going from 32-bit to 64-bit (on Linux). I think I typedef'd my "long long"'s, but still, it would still take a bit of effort (especially since I am not familiar with the Microsoft compiler at all). Also, things like "long long" vs "_int64" or whatever the Microsoft compiler takes. and I have learned that's not a good idea since then). Problem with Microsoft compiler is that I am using a lot of GCC intrinsics (some of them without wrapper interfaces. I've been using gcc naked for a few years. Of course I don't fear command line compilers. I posted it as a question on the mingw-w64 forum, and it appears like the SVN version can already compile Boost.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |