Any Fortran coder ?
Posted: Thu Nov 15, 2018 7:52 pm
Friendly greetings !
I'm writing a chess engine (my 1st engine ! yay !), using fortran.
I'm not sure which board representation would be a best fit for this language.
Techincally, fortran doesn't have uint64_t (only signed) but it should be a very major problem if the bitfield is only used for bit manipulation, and not math.
Another option could be a logical matrix (a 2d array of boolean) but it may kind of defeat the effectiveness of a bitboard.
Or it could be any other board representation, probably.
i don't know. Any idea ?
The source code is here https://github.com/ker2x/fortiche but it doesn't do anything at all, for now.
I'm writing a chess engine (my 1st engine ! yay !), using fortran.
I'm not sure which board representation would be a best fit for this language.
Techincally, fortran doesn't have uint64_t (only signed) but it should be a very major problem if the bitfield is only used for bit manipulation, and not math.
Another option could be a logical matrix (a 2d array of boolean) but it may kind of defeat the effectiveness of a bitboard.
Or it could be any other board representation, probably.
i don't know. Any idea ?
The source code is here https://github.com/ker2x/fortiche but it doesn't do anything at all, for now.