Search found 3088 matches

by lucasart
Wed Apr 07, 2021 4:37 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ubuntu ARM64 for chess?
Replies: 24
Views: 656

Re: Ubuntu ARM64 for chess?

Hi! Have you a link for cutechess and cutechess-cli ARM64 binaries? I've fount it here, but it is expired. I'll tell you if it works also on Ubuntu ARM64 under Parallels Desktop M1 :) Thanks! AlexChess I thought you wanted to compile by yourself. Are you having issues compiling Cutechess or Banksia...
by lucasart
Tue Apr 06, 2021 10:15 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ubuntu ARM64 for chess?
Replies: 24
Views: 656

Re: Ubuntu ARM64 for chess?

Hi! I'm interested in playing engine tournaments with Ubuntu ARM, So I'm looking for chess IDEs like Winboard/xboard, Cutechess, BanksiaGui & Arena compiling them by myself (if open source) together with all best engines. Until now I have only Pychess working... c-chess-cli should work: https://git...
by lucasart
Sun Mar 28, 2021 12:04 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ronald de Man is such a hero
Replies: 27
Views: 2459

Re: Ronald de Man is such a hero

Sadly, it seems that no one cares anymore, with hello world programs compiling to several megabytes in new programming languages like Go, and even Rust... Rust keeps it's debug symbols, even in a release compile. (I.e., you can make a release compile that runs at full speed, and still debug it.) Yo...
by lucasart
Sat Mar 27, 2021 8:58 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ronald de Man is such a hero
Replies: 27
Views: 2459

Re: Ronald de Man is such a hero

I just built CFish and the binaries are deliciously tiny (I have a script that builds three different versions): This is the strength of the C language that comes with no bloated runtime, not Ronald I am afraid. Ronald de Man still deserves our congratulations for the quality of the code he writes....
by lucasart
Thu Mar 18, 2021 4:36 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN compression
Replies: 16
Views: 1578

Re: FEN compression

Update: removed useless ep bit. itemname | bits | definition --------------------------------------------|----------- occupied | 64 | pext(white,occupied) | cnt(occupied) | black = occupied & ~white | 0 | pext(pawns, occupied) | cnt(occupied) | pext(knights, remaining) | cnt(remaining) | remaining =...
by lucasart
Thu Mar 18, 2021 3:31 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN compression
Replies: 16
Views: 1578

Re: FEN compression

Dann Corbit wrote:
Thu Mar 18, 2021 1:54 am
Specifically:

Code: Select all

Instruction	Zen2	                                  Zen3
PDEP/PEXT	300 cycle latency 250 cycles per clock	3 cycle latency 1 per clock
Definitely my next CPU when I finish frying my Intel i7.
by lucasart
Wed Mar 17, 2021 1:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN compression
Replies: 16
Views: 1578

Re: FEN compression

Actually, it can be improved even further, because the candidate squares for en-passant are only of the opposite(turn). itemname | bits | definition --------------------------------------------|----------- occupied | 64 | pext(white,occupied) | cnt(occupied) | black = occupied & ~white | 0 | pext(pa...
by lucasart
Wed Mar 17, 2021 5:37 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN compression
Replies: 16
Views: 1578

Re: FEN compression

I believe Uri Blass wrote a FEN compressor that squeezes a fen below 165 bits I ran the experience with my pext algorithm, playing 100 games (demolito vs. itself at depth=8), and computing the average compressed size for all encountered positions. I ran it twice: with and without adjudication (no a...
by lucasart
Wed Mar 17, 2021 4:04 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN compression
Replies: 16
Views: 1578

Re: FEN compression

Not nearly as good as yours, although trivial to decompress and matches my internal use during training. Load times are pretty fast, to the point where speeding it up is a non-factor for me, but I imagine your scheme would be faster, trading off disk reads for decompression. Occupancy : 8-bytes Eva...
by lucasart
Wed Mar 17, 2021 3:07 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FEN compression
Replies: 16
Views: 1578

Re: FEN compression

I don't know about PDEP/PEXT but from the docs it seems you actually want pext for compression and pdep for decompression? Nice idea - the point is the trainer compresses FENs this way in memory I suppose. Where do you handle (piece) color? I guess you could easily encode say black pieces in a simi...