Using Haskell to debug a C chess engine
michaelburge.us
Using Haskell to debug a C chess engine
1–6 of 6 posts
Re: Using Haskell to debug a C chess engine
#2Re: Using Haskell to debug a C chess engine
#3Re: Using Haskell to debug a C chess engine
#4Personally, I think an engine written in Haskell would be more interesting. Given how ridiculously strong some engines are when running on commodity hardware, a little performance hit wouldn't be the end of the world.
Implementation: https://bitbucket.org/MichaelBurge/shogi/src/f2370832b328ae1...
Tests: https://bitbucket.org/MichaelBurge/shogi/src/f2370832b328ae1...
The code & style are pretty similar between the Haskell and the C. I found the C easier to write: The C engine was written and debugged within about 3 days, while the Haskell Shogi engine has a couple weeks of commits.
Re: Using Haskell to debug a C chess engine
#5Personally, I think an engine written in Haskell would be more interesting. Given how ridiculously strong some engines are when running on commodity hardware, a little performance hit wouldn't be the end of the world.
I probably won't do an article on it, but I did have a couple-years old Shogi engine in Haskell: Implementation: https://bitbucket.org/MichaelBurge/shogi/src/f2370832b328ae1... Tests: https://bitbucket.org/MichaelBurge/shogi/src/f2370832b328ae1... The code & style are pretty similar between the Haskell and the C. I found the C easier to write: The C engine was written and debugged within about 3 days, while the Haske…
Re: Using Haskell to debug a C chess engine
#6Earlier quoted context omitted.
I probably won't do an article on it, but I did have a couple-years old Shogi engine in Haskell: Implementation: https://bitbucket.org/MichaelBurge/shogi/src/f2370832b328ae1... Tests: https://bitbucket.org/MichaelBurge/shogi/src/f2370832b328ae1... The code & style are pretty similar between the Haskell and the C. I found the C easier to write: The C engine was written and debugged within about 3 days, while the Haske…
Why do you think the C was easier to write?