Page 6 of 9

Re: Delimiter development diary

Posted: Mon Jan 18, 2021 6:52 pm
by shinkarom

Re: Delimiter development diary

Posted: Tue Jan 19, 2021 10:29 am
by shinkarom
I skipped debugit.cpp because it's very rarely used in the code and because if needed I'll write the debug functions myself.

Re: Delimiter development diary

Posted: Sat Jan 23, 2021 3:24 pm
by shinkarom
Your thoughts, anyone? The silence here is really disconcerting.

Re: Delimiter development diary

Posted: Sun Jan 24, 2021 9:46 am
by shinkarom

Re: Delimiter development diary

Posted: Sun Jan 24, 2021 12:46 pm
by abulmo2
shinkarom wrote: Sat Jan 23, 2021 3: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.

Re: Delimiter development diary

Posted: Sun Jan 24, 2021 3:19 pm
by shinkarom
abulmo2 wrote: Sun Jan 24, 2021 12:46 pm 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".

Re: Delimiter development diary

Posted: Mon Jan 25, 2021 10:21 am
by shinkarom

Re: Delimiter development diary

Posted: Fri Jan 29, 2021 11:16 am
by shinkarom

Re: Delimiter development diary

Posted: Mon Feb 01, 2021 6:50 pm
by shinkarom
Converted movegen.cpp
Only two more files to go.

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

Re: Delimiter development diary

Posted: Sat Feb 06, 2021 12:21 pm
by shinkarom