Page 1 of 1

pikoSzachy - a new Winboard engine, only 10 KB!

PostPosted: 25 Jan 2005, 17:01
by Piotr Cichy
PikoSzachy is a new polish engine for WinBoard.

The name pikoSzachy (in english: picoChess) refers to the very small size of the program - only 10 KB!
It's a simplified version of my another engine - nanoSzachy.
PikoSzachy can use opening book of nanoSzachy.

Download:
pikoSzachy:
http://www.kalisz.mm.pl/~pic/nanochess/index.html#picoChess
nanoSzachy:
http://www.kalisz.mm.pl/~pic/nanochess/

Re: pikoSzachy - a new Winboard engine, only 10 KB!

PostPosted: 25 Jan 2005, 18:35
by Tord Romstad
Piotr Cichy wrote:PikoSzachy is a new polish engine for WinBoard.

The name pikoSzachy (in english: picoChess) refers to the very small size of the program - only 10 KB!

Hi Piotr,

This is truly astonishing. I thought my engine Glaurung, with an executable size of around 70 KB was rather small. Any hints about how you achieve such tiny executable sizes? How big is the source code?

Tord

Re: pikoSzachy - a new Winboard engine, only 10 KB!

PostPosted: 25 Jan 2005, 19:01
by Piotr Cichy
Tord Romstad wrote:Hi Piotr,

This is truly astonishing. I thought my engine Glaurung, with an executable size of around 70 KB was rather small. Any hints about how you achieve such tiny executable sizes? How big is the source code?

Tord


Hi Tord.

Main reasons of small program size are:
- very compact source code (about 30KB, written in C++)
- code optimized for size, not speed
- using pure C++, avoiding external static linked libraries
- most big tables are precomputed at start, not kept in program
- small number of universal functions with many parameters
(for example, normal and quiescent search use common code)
- avoiding identical or similiar code in different parts of code

Re: pikoSzachy - a new Winboard engine, only 10 KB!

PostPosted: 25 Jan 2005, 19:58
by eric_oldre
Piotr Cichy wrote:PikoSzachy is a new polish engine for WinBoard.

The name pikoSzachy (in english: picoChess) refers to the very small size of the program - only 10 KB!
It's a simplified version of my another engine - nanoSzachy.
PikoSzachy can use opening book of nanoSzachy.

Download:
pikoSzachy:
http://www.kalisz.mm.pl/~pic/nanochess/index.html#picoChess
nanoSzachy:
http://www.kalisz.mm.pl/~pic/nanochess/


Piotr,
How does the strength of PikoSzachy compare to nanoSzachy? nanoszachy is one of my favorite engines to test against.

Re: pikoSzachy - a new Winboard engine, only 10 KB!

PostPosted: 25 Jan 2005, 20:16
by Piotr Cichy
eric_oldre wrote:Piotr,
How does the strength of PikoSzachy compare to nanoSzachy? nanoszachy is one of my favorite engines to test against.


I compiled pikoSzachy last Sunday and did not have too much time for testing. But in my first tests (mainly short time controls) the strength of playing seems to be only a litlle worse. I hope to see more results soon in test tourneys.

PikoSzachy has different move generator, does not use bitboards and is about 25% slower. Evaluation function is similiar in both programs. I tried also a simpler (and shorter) evaluation function, but playing strength was noticably worse (in spite of achieving about 2 times more nodes per second).

Re: pikoSzachy - a new Winboard engine, only 10 KB!

PostPosted: 26 Jan 2005, 14:28
by Jim Ablett
Image

Jim.

Re: pikoSzachy - a new Winboard engine, only 10 KB!

PostPosted: 26 Jan 2005, 16:15
by Piotr Cichy
Jim Ablett wrote:Image


Hi Jim.

Thanks for the new logo :D