Live data from Hacker News

I Made a Chess Library in Java

jaeheonshim.com

1–10 of 31 posts

Re: I Made a Chess Library in Java

#9
post #7

You need to switch your data representation to 0x88 [1] or bitbords [2] to get anything performant. You won't get anywhere with a class hierarchy [1] https://www.chessprogramming.org/0x88 [2] https://www.chessprogramming.org/Bitboards

Perhaps they don’t need anything performant? You don’t need a bitboard for everything. (They’re also not always performant.)

Re: I Made a Chess Library in Java

#10
post #7

You need to switch your data representation to 0x88 [1] or bitbords [2] to get anything performant. You won't get anywhere with a class hierarchy [1] https://www.chessprogramming.org/0x88 [2] https://www.chessprogramming.org/Bitboards

If the API is well written, this is an implementation detail.
Post reply on HN