Search found 142 matches

by Sesse
Mon Oct 15, 2018 7:07 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: A genetic chess engine?
Replies: 6
Views: 1149

Re: A genetic chess engine?

You reinvented Fishtest? :-P
by Sesse
Mon Oct 08, 2018 1:10 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Tablebase descriptors
Replies: 3
Views: 734

Re: Tablebase descriptors

Lexicographic on strongest piece. So QPPP (or QNNN) is stronger than than RRRR.
by Sesse
Fri Oct 05, 2018 11:51 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Engines for testing (Linux, fast time control)
Replies: 17
Views: 3039

Re: Engines for testing (Linux, fast time control)

Have you tried Rybka? Should probably be in the right range, and the “microwine” layer I made for it at some point makes it appear mostly as a native engine.
by Sesse
Thu Oct 04, 2018 10:17 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: what is the best free compiler to use?
Replies: 18
Views: 2146

Re: what is the best free compiler to use?

Since a year or two VS also integrates Clang with as backend the MSVC code generator and optimizer, and I have to agree that the diagnostics output is very informative, sometimes I use it as a static analysis tool. That would be Clang/C2, which is a different project from regular Windows Clang (as ...
by Sesse
Thu Oct 04, 2018 2:03 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: what is the best free compiler to use?
Replies: 18
Views: 2146

Re: what is the best free compiler to use?

Clang is a different compiler from GCC, indeed—they're entirely separate projects. But GCC is also usually somewhat faster than MSVC with comparable settings; MSVC is a very old compiler (its basic design harks back from the DOS era), and has to bend over backwards to deal with the more tricky C++ c...
by Sesse
Wed Oct 03, 2018 7:15 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: 7-men Syzygy attempt
Replies: 549
Views: 77715

Re: 7-men Syzygy attempt

There's no active 7-man torrent that I know of. Of course, nothing would stop you from making one and uploading it to a tracker (but then again, it's unlikely you would find too many people interested in seeding).
by Sesse
Wed Oct 03, 2018 7:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: what is the best free compiler to use?
Replies: 18
Views: 2146

Re: what is the best free compiler to use?

I'm totally happy with VS, it compiles very fast especially when you enable MP compilation Visual Studio is among the slowest C++ compilers still in actual use (and the /MP parallellization is super-primitive). Case in point, at work we have a product where the Windows version can compile with both...
by Sesse
Fri Sep 21, 2018 3:10 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: My PHP Chess Move Generator is slow. Help!
Replies: 12
Views: 1303

Re: My PHP Chess Move Generator is slow. Help!

Why should an object-oriented PHP program be significantly slower than a classical PHP program? Most importantly, because you are generating a ton of objects that need to be garbage collected, which takes significant amounts of time. You are also introducing an abstraction penalty that PHP's rather...
by Sesse
Thu Sep 20, 2018 9:09 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: My PHP Chess Move Generator is slow. Help!
Replies: 12
Views: 1303

Re: My PHP Chess Move Generator is slow. Help!

Why should an object-oriented PHP program be significantly slower than a classical PHP program? Most importantly, because you are generating a ton of objects that need to be garbage collected, which takes significant amounts of time. You are also introducing an abstraction penalty that PHP's rather...
by Sesse
Wed Sep 19, 2018 9:24 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: My PHP Chess Move Generator is slow. Help!
Replies: 12
Views: 1303

Re: My PHP Chess Move Generator is slow. Help!

You have three problems:

1. You are using PHP.
2. Your board structure is based on text (e.g. “a1”) instead of primitive values (e.g. 0, 0).
3. You are doing this object-oriented.

Fix those three, and your code will be much, much faster. :-)