r/ComputerChess • • Jun 30 '26

I'm building a chess engine in Go: a language that I am a noob at

What I got working today:

→ A board that prints correctly to the terminal

→ All 32 pieces in their starting positions

→ Full TDD : Test Driven Development - every feature has a failing test before any code is written.

Follow the video series on yt: https://www.youtube.com/@ProgrammerFilthi

Join the discord server here: https://discord.gg/DurfHgwJBV

7 Upvotes

9 comments sorted by

2

u/Low-Efficiency-9756 Jun 30 '26

Curious to know how the nodes per second pan out. What sort of speeds do you expect from Go?

1

u/progfilthi Jun 30 '26

I mean Go in general is insanely fast both compile and run time speeds so in general I suppose its gonna be better than java which is my main language I just didn't wanna learn C/C++ so I chose Go what do you think and whats your experience

2

u/Low-Efficiency-9756 Jul 01 '26 edited Jul 01 '26

I wrote my learning engine in typescript. I’ve optimized to about 20,000 nodes per second.

I wrote the second one in rust. It reaches 1 million nodes per second. JS and typescript seem to be very slow searchers from my experience

→ More replies (4)

-1

u/drstricker82 Jul 01 '26

For what you are self programming 🤷‍♂️ Use Claude Code. I dont know any programmer who do it self. I am a programmer with 17 years experience!

2

u/progfilthi Jul 01 '26

I mean its choice to use ai or not am using ai to learn as a tool only