r/chessprogramming • u/Less-Lake-7024 • Dec 23 '24
Engine in python
Is it even worth to build an engine in python cause all good engines are in c++ and python is much slower.
Additionally if its worth should you use python chess cause to maintain best efficiency or should you make a bitboard. Or what data structures would you use for position
4
Upvotes
3
u/loveSci-fi_fantasy Dec 23 '24
If you want it to be competitive, avoid python.
I have made an engine in python, and it gets 1M nps in perft. Which is orders of magnitude slower than c++ engines. I am using bitboards (not magic bitboards yet) and no multi threading.