Search found 3683 matches

by jdart
Fri Sep 13, 2019 3:27 pm
Forum: Computer Chess Club: General Topics
Topic: Is e4 significantly better than d4?
Replies: 26
Views: 909

Re: Is e4 significantly better than d4?

I don't think you are ever going to be able to decide this question with a root-level search.

--JOn
by jdart
Thu Sep 12, 2019 3:23 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 25
Views: 1210

Re: Crafty 25.3 MSVS 2019

For MSVC (_MSC_VER defined) you want:

_BitScanForward64, _BitScanReverse64 for LSB, MSB:

https://docs.microsoft.com/en-us/cpp/in ... ew=vs-2019
by jdart
Wed Sep 11, 2019 1:00 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 25
Views: 1210

Re: Crafty 25.3 MSVS 2019

Dann Corbit wrote:
Tue Sep 10, 2019 11:49 pm
bool is already defined in C++.
Only in C++-17, as std::bool. As I mentioned earlier, tbprobe.c is intended to be compiled either as C99 or C++. Either should work, although I have not tested C++17. I have compiled it with MSVC 2019 (C++) and it worked.

--Jon
by jdart
Tue Sep 10, 2019 1:06 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 25
Views: 1210

Re: Crafty 25.3 MSVS 2019

I think it would be very helpful if this was hosted on a proper version control system such as Github. I know there was some unofficial hosting there but really it should be authorized by Bob. If that is done it is possible to submit patches via pull request. And there is a place to go for the lates...
by jdart
Mon Sep 09, 2019 5:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 25
Views: 1210

Re: Crafty 25.3 MSVS 2019

tbprobe.c requires a C99 compiler. So for MSVC you need to specify that as the language, or compile that file as C++.

--Jon
by jdart
Mon Sep 09, 2019 2:26 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 25
Views: 1210

Re: Crafty 25.3 MSVS 2019

I think Crafty is now using the latest Fathom code, in which case tbcore.h/tbcore.c should be no longer used (these are from the older version before 7-man support was added). Btw your archive only has the .exe - did you mean to include source?
by jdart
Mon Sep 09, 2019 3:43 am
Forum: Computer Chess Club: General Topics
Topic: Strongest currently available Winboard engines for import to Chessmaster?
Replies: 13
Views: 829

Re: Strongest currently available Winboard engines for import to Chessmaster?

All versions of Crafty are Winboard compatible. I think Fruit was/is only UCI.

Arasan supports both Winboard and UCI (https://www.arasanchess.org).

--Jon
by jdart
Sun Sep 08, 2019 6:18 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Crafty 25.3 MSVS 2019
Replies: 25
Views: 1210

Re: Crafty 25.3 MSVS 2019

I believe Bob uses Linux exclusively. So it probably wasn't ever tested with MSVC. Try cygwin maybe?

--Jon
by jdart
Fri Sep 06, 2019 1:44 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Multithreaded noob question
Replies: 8
Views: 471

Re: Multithreaded noob question

join waits for the thread to complete, which happens on exit from the thread procedure. So that is an option, if you want to start all the threads when a search starts, and then wait for them to all complete. But my engine (and I think others) has the model that threads are started when the program ...