Article View: gnu.chess
Article #1500GNU Chess prototype with pondering
From: Lukas Geyer
Date: Sun, 06 Oct 2002 06:16
Date: Sun, 06 Oct 2002 06:16
44 lines
2828 bytes
2828 bytes
I have added a first version of pondering to gnuchess. Right now it just searches and fills the transposition table. The hash format of the transposition table was changed to make it persistent. The code uses a separate input thread, so you need to have support for POSIX threads to compile this version. I would be particularly interested whether this builds and runs on Windows (Cygwin or MSVC for the very brave), as I have no Windows machine available for testing. Basic testing has been done with Linux/PPC, compiler gcc 3.1, Solaris with both gcc and the Sun compiler. Further changes include: - Fixed potential buffer overflow in src/pgn.c, which could be used to gain control of the user's machine if he feeds a malicious PGN file to gnuchess. (Thanks to David Wheeler for this one.) - Removed all support for the Novag Universal Board. The recommended way of using it is via the Winboard extension linked to on http://www.tim-mann.org/extensions.html - Revamped the commandline input code (should not be noticeable by users) For more detailed changes please read the ChangeLog file and the sources. The tarball is available under http://people.debian.org/~lukas/gnuchess/ And please, please, this is barely tested ALPHA software, this is no official release of gnuchess, so expect a bumpy ride. (The diff with the current CVS head is ca. 120k at the moment.) If you have any problems compiling or running it, or if it works just fine, I would really like to hear it. Lukas P.S.: At the moment, disabling pondering is somewhat screwed, it will busy-wait for input, so it hogs the CPU in any case. I will address this problem soon. -- Chess is a foolish expedient for making idle people believe they are doing something very clever when they are only wasting their time. -- George Bernard Shaw
Technical Details
Message-ID:
<877kgwhz1w.fsf@lgeyermac.math.lsa.umich.edu>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newspeer.clara.net!news.clara.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!pm482-23.dialip.mich.NET!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,2cb8fce1d767254c,start X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 2002-10-05 23:16:56 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newspeer.clara.net!news.clara.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!pm482-23.dialip.mich.NET!not-for-mail From: Lukas Geyer <lukas@debian.org> Newsgroups: gnu.chess Subject: GNU Chess prototype with pondering Date: 06 Oct 2002 02:16:43 -0400 Lines: 44 Message-ID: <877kgwhz1w.fsf@lgeyermac.math.lsa.umich.edu> NNTP-Posting-Host: pm482-23.dialip.mich.net (207.75.180.177) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: fu-berlin.de 1033885015 16738955 207.75.180.177 (16 1392 [141008]) X-Orig-Path: fullp.ath.cx!nobody User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)