Search found 16976 matches

by bob
Tue Mar 24, 2020 5:06 pm
Forum: Computer Chess Club: General Topics
Topic: When will the chess programmers write an engine that plans ?
Replies: 198
Views: 4653

Re: When will the chess programmers write an engine that plans ?

While we wait, a position Berliner opined about: r1bq1rk1/pp2ppbp/2n3p1/2p5/2BPP3/2P1B3/P3NPPP/R2QK2R w KQ - He insisted White must play Rc1 here. Engines at low depth go for 0-0. It looks like 0-0 is by far the most popular GM move too, but I don't have access to a big database. This is interestin...
by bob
Tue Mar 24, 2020 5:00 pm
Forum: Computer Chess Club: General Topics
Topic: When will the chess programmers write an engine that plans ?
Replies: 198
Views: 4653

Re: When will the chess programmers write an engine that plans ?

The book is called The System, and he gives numeric points to various features of chess. He gave a valiant exposition of why d4 is best (not sure if he was right or wrong about it, but it is pretty good at any rate). The whole book is about how to compute chess numerically. If you look at his corre...
by bob
Sun Mar 22, 2020 1:16 am
Forum: Computer Chess Club: General Topics
Topic: When will the chess programmers write an engine that plans ?
Replies: 198
Views: 4653

Re: When will the chess programmers write an engine that plans ?

Chess is NOT all about tactics. In most positions there is absolutely no tactics. Chess is nothing but tactics. Just because one position has a quiet move at the root, says nothing about what happens deeper into the tree. Ever won a game without either winning material or mating your opponent? Posi...
by bob
Sat Mar 21, 2020 5:45 pm
Forum: Computer Chess Club: General Topics
Topic: When will the chess programmers write an engine that plans ?
Replies: 198
Views: 4653

Re: When will the chess programmers write an engine that plans ?

Here's a question: Suppose you are in the market for building a house. You have a pretty good idea of what you want. You find a guy that listens to you, and then builds exactly what you asked for. No blueprints, no drawings, he just builds it and ends up with a result you are happy with. OR, you fin...
by bob
Sat Mar 14, 2020 9:19 pm
Forum: Computer Chess Club: General Topics
Topic: Engine programming
Replies: 32
Views: 2120

Re: Engine programming

Normally you should start with the programming language you know best. Unless it is COBOL or an interpreted language. At that point, you should look at the languages you know, and which one you would really like to get familiar with, since chess programming is going to force you to use more than bas...
by bob
Fri Mar 13, 2020 2:41 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Removing Large Arrays
Replies: 35
Views: 3200

Re: Removing Large Arrays

Without demonstration inside the stockfish code, using a profiler to see where the time is really going, the trivial tests are meaningless. When there are a hundred arrays and large data objects all competing for the cache, the code will behave very differently from when things are all sitting nice...
by bob
Fri Mar 13, 2020 2:35 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Removing Large Arrays
Replies: 35
Views: 3200

Re: Removing Large Arrays

I don't know when/if it has changed, but years ago when I worked on the Linux kernel some, Linus had an absolute rule that had to be followed unless an acceptable (to him) justification could be offered. "No single procedure/function can exceed 25 lines of code." The reason came from old display dev...
by bob
Thu Mar 12, 2020 6:56 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Strange sporadic speed limitation in engine running in Linux on Ryzen
Replies: 19
Views: 1779

Re: Strange sporadic speed limitation in engine running in Linux on Ryzen

Two things here. (1) if I am testing, I am going to do my best to make the entire test run at the same constant CPU speed. No turbo/speedstep whatsoever. (2) in a game, I would use whatever provides the best overall average speed. With a chess engine, running multiple cores on a single chip, most li...
by bob
Thu Mar 12, 2020 6:49 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Removing Large Arrays
Replies: 35
Views: 3200

Re: Removing Large Arrays

There is one thing everyone is missing. Have you ever had a case where you removed a bit of code (code that is not even executed during the search) and found that the speed improved. Or got worse? Have you ever added a bit of code (say a couple of checks to do something if a bug you are hunting happ...
by bob
Tue Mar 10, 2020 5:57 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Strange sporadic speed limitation in engine running in Linux on Ryzen
Replies: 19
Views: 1779

Re: Strange sporadic speed limitation in engine running in Linux on Ryzen

Don't know about your processor, but I have had to ALWAYS turn off "turbo-boost" on intel processors. This lets all cores run at the max rated (non-boosted) clock speed so that processors won't change speed during a test. Every high-performance machine we run at UAB has had this disabled.