Delimiter development diary

Discussion of chess software programming and technical issues.

Moderators: hgm, Dann Corbit, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
shinkarom
Posts: 84
Joined: Tue Nov 19, 2019 12:26 pm
Full name: Roman Shynkarenko
Contact:

Re: Delimiter development diary

Post by shinkarom » Mon Jan 18, 2021 5:52 pm


shinkarom
Posts: 84
Joined: Tue Nov 19, 2019 12:26 pm
Full name: Roman Shynkarenko
Contact:

Re: Delimiter development diary

Post by shinkarom » Tue Jan 19, 2021 9:29 am

I skipped debugit.cpp because it's very rarely used in the code and because if needed I'll write the debug functions myself.

shinkarom
Posts: 84
Joined: Tue Nov 19, 2019 12:26 pm
Full name: Roman Shynkarenko
Contact:

Re: Delimiter development diary

Post by shinkarom » Sat Jan 23, 2021 2:24 pm

Your thoughts, anyone? The silence here is really disconcerting.

shinkarom
Posts: 84
Joined: Tue Nov 19, 2019 12:26 pm
Full name: Roman Shynkarenko
Contact:

Re: Delimiter development diary

Post by shinkarom » Sun Jan 24, 2021 8:46 am


abulmo2
Posts: 338
Joined: Fri Dec 16, 2016 10:04 am
Contact:

Re: Delimiter development diary

Post by abulmo2 » Sun Jan 24, 2021 11:46 am

shinkarom wrote:
Sat Jan 23, 2021 2:24 pm
Your thoughts, anyone? The silence here is really disconcerting.
I am waiting for the final result :-)
What approach are you using to convert from the C language to the D language? A direct rewrite into full D, or into D as betterC. I know Walter Bright uses the latter to convert dmd from C to D. At some time the compiler was a mixture of D and C, but still compilable and with a conservative behaviour. That says a chess program is small enough to directly re-write it in idiomatic D.
I guess people would me more interested in seeing a rewrite of Stockfish into D, as Stockfish has been already rewritten into C, asm, and rust.
Richard Delorme

shinkarom
Posts: 84
Joined: Tue Nov 19, 2019 12:26 pm
Full name: Roman Shynkarenko
Contact:

Re: Delimiter development diary

Post by shinkarom » Sun Jan 24, 2021 2:19 pm

abulmo2 wrote:
Sun Jan 24, 2021 11:46 am
What approach are you using to convert from the C language to the D language?
Just simple rewriting to full D, using std.algorithm where I can't copy the text verbatim. Making sure this is idiomatic D (not like with Lime which was C with a few drops of C++ flavoring) will come later. Right now my goal is just have have it compile without errors. Only when testing the completely rewritten engine I will understand if my converted functions work.

Dockfish better be written by someone else, because this is too trodden ground. Part of my selecting Lime was choosing the engine for a base which would not be too strong or too famous. So that people would not sigh, "Stockfish based engine, what a low effort project".

shinkarom
Posts: 84
Joined: Tue Nov 19, 2019 12:26 pm
Full name: Roman Shynkarenko
Contact:

Re: Delimiter development diary

Post by shinkarom » Mon Jan 25, 2021 9:21 am


shinkarom
Posts: 84
Joined: Tue Nov 19, 2019 12:26 pm
Full name: Roman Shynkarenko
Contact:

Re: Delimiter development diary

Post by shinkarom » Fri Jan 29, 2021 10:16 am


shinkarom
Posts: 84
Joined: Tue Nov 19, 2019 12:26 pm
Full name: Roman Shynkarenko
Contact:

Re: Delimiter development diary

Post by shinkarom » Mon Feb 01, 2021 5:50 pm

Converted movegen.cpp
Only two more files to go.

https://github.com/shinkarom/delimiterc ... 7c5a6644f6

shinkarom
Posts: 84
Joined: Tue Nov 19, 2019 12:26 pm
Full name: Roman Shynkarenko
Contact:

Re: Delimiter development diary

Post by shinkarom » Sat Feb 06, 2021 11:21 am


Post Reply