I released new version of pikoSzachy. This time there's special edition - I called it Extreme Edition. So far the size of pikoSzachy was from 8 to 10 KB. Last version of pikoSzachy had 9.5 KB. The new version has only 7.5 KB and is based on very old version 2.3 from year 2008, the smallest version so far. New version is extremally small, comparing to version 2.3 is 7% smaller and about 200 ELO stronger and comparing to version 4.0 it is 27% smaller and about 100 ELO weaker.
I am only in the business of optimizing source-code size, not size of the executable. The micro-Max source is smaller than 2 KB. It is not the smallest anymore, though: Oscar Toledo G has written Toledo nanoChess, which is only 1275 bytes. (It is a lot weaker than micro-Max, though: I don't minimize size per se, but size/Elo, so code that improves the Elo more than the source size are welcome.)
hgm wrote:I am only in the business of optimizing source-code size, not size of the executable. The micro-Max source is smaller than 2 KB. It is not the smallest anymore, though: Oscar Toledo G has written Toledo nanoChess, which is only 1275 bytes. (It is a lot weaker than micro-Max, though: I don't minimize size per se, but size/Elo, so code that improves the Elo more than the source size are welcome.)
Yup.
Then the real challenge is to write an engine smaller and powerful
than micro-Max (4.8 I suppose)?
Any takers?
On the other hand, as the smallest size of micro-Max 4.8 executable
is 7.5 KB, it could be a fair opponent for pikoSzachy Extreme Edition.
tttony wrote:wow didn't know about this engine (there are so many)
NanoSzachy 4.0 64-bit it's only 30KB and 2547elo in CCRL 40/4
I'm curious, it's developed under C?
Yes, both nano- and pikoSzachy are written in C. In fact, it is C++, but closer to pure C than C++.
Comparing them to HGM's microMax, they are another leaugue. MicroMax is only 2KB of source code, pikoSzachy EE has 20 KB - so is 10x bigger! As Harm said, microMax is optimized for source code size, not executable size. Source code of pikoSzachy 4.0 is yet bigger - 24KB, and nanoSzachy has about 38KB.
I've noticed that something really strange happens when I unzip the downloaded archive containing the executables. Right after unzipping, the pikoSzachy.exe is somehow "auto-deleted" within seconds. I've never seen anything like this before - the file simply vanishes from the folder.
What could account for this baffling behavior? (NanoSzachy runs fine, btw)
Regards,
CL
Piotr Cichy wrote:Hello all and Happy New Year!
I released new version of pikoSzachy. This time there's special edition - I called it Extreme Edition. So far the size of pikoSzachy was from 8 to 10 KB. Last version of pikoSzachy had 9.5 KB. The new version has only 7.5 KB and is based on very old version 2.3 from year 2008, the smallest version so far. New version is extremally small, comparing to version 2.3 is 7% smaller and about 200 ELO stronger and comparing to version 4.0 it is 27% smaller and about 100 ELO weaker.