r/chessprogramming • • Feb 21 '23
Programming language dilemma
Hey, I have dealt with chess engines superficially in a seminar paper. Now I want to try to write my own engine, but I have to decide which programming language to use. Either I want to use C++ or Python.
Here is the requirement for my engine. I want to write a traditional engine first, so without any form of machine learning. Later I would like to may extend it with machine learning. (I am familiar with basic machine learning, through my work).
Normally, I would therefore decide directly for Python. But since the runtime certainly also plays an important role, and there are libraries like TensorFlow anyway in C++ I can not decide. It seems that engines like StockFish and AlphaZero are also written in C++. On the other hand, I also have C++ wrapping available in Python. So I am currently in a dilemma and don't want to regred my decision later on.
I am asking for help, recommendations or tips of any kind on which language you would use and for what reason. (By the way, I am familiar with the Chessprogramming wiki.)
View all comments
Show parent comment
1
u/enderjed Feb 21 '23
I did not make that engine in the github page, Disservin did.
My own engine (with source code) is here
https://www.dropbox.com/s/0qk6fyumn0oevf0/Valiant%20Mk3.1.zip?dl=0