cozy-chess VS shakmaty

Compare cozy-chess vs shakmaty and see what are their differences.

cozy-chess

A Chess and Chess960 move generation library written in Rust (by analog-hors)

shakmaty

A Rust library for chess and chess variant rules and operations (by niklasf)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
cozy-chess shakmaty
3 2
41 193
- -
6.1 7.5
24 days ago 11 days ago
Rust Rust
MIT License GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cozy-chess

Posts with mentions or reviews of cozy-chess. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-03.
  • Help me find a perfect hash function and fill a hash table in compile time
    3 projects | /r/rust | 3 Jul 2023
    If you'd like to reference something, my movegen crate cozy-chess does this. I also have a standalone reference implementation here as part of my magic bitboard article.
  • Interested in creating, playing and testing your own chess engine?
    7 projects | /r/chess | 10 Dec 2022
    https://github.com/ShailChoksi/lichess-bot is a straight forward way to use any UCI engine with lichess. There are also a few libraries for move generation mine: https://github.com/Disservin/chess-library , libchess: https://github.com/kz04px/libchess , surge: https://github.com/nkarve/surge . These are C++ ones, for rust theres https://github.com/analog-hors/cozy-chess . In python you could use python-chess but its incredibly slow for engine stuff writing your own will probably be faster if you know what you are doing.
  • cozy-chess: A Chess and Chess960 move generation library
    5 projects | /r/rust | 17 Nov 2021
    A while back, I got into computer chess. I used Jordan Bray's neat chess crate for move generation, and was pretty satisfied until I took a look at the code. It's pretty good and all, but... So. Much. unsafe. Out of a mix of frustration and curiosity, I made it my next project to create my own chess move generation library. So... here it is, I guess: https://github.com/analog-hors/cozy-chess/ It's my first crate, so feedback would be appreciated! It's currently being used in my (weak) chess engine Tantabus.

shakmaty

Posts with mentions or reviews of shakmaty. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-17.
  • cozy-chess: A Chess and Chess960 move generation library
    5 projects | /r/rust | 17 Nov 2021
    I think it provides similar performance as chess, though I don't really want to give any hard numbers as apparently the system I benchmark on is not the most reliable for that. Nevertheless, depth 6 kiwipete ("r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1"): chess: Result: 8031647685 Time: 30s 547ms shakmaty: Result: 8031647685 Time: 49s 669ms cozy-chess: Result: 8031647685 Time: 26s 673ms Tested using a modified version of Jordan Bray's chess_perft.
  • Compile time
    9 projects | /r/rust | 21 Aug 2021
    Out of curiosity, what causes the initial 100% utilization to drop. I'm new to complied languages, and yesterday I was playing around with this chess move generation library. On my ryzen 1600, I saw the same behaviour. Full utlisation for the first half, then dropped down to about 20-30% utltisation

What are some alternatives?

When comparing cozy-chess and shakmaty you can also consider the following projects:

tantabus - WIP Rust UCI chess engine

chess - A rust library to manage chess move generation

Walleye - A chess engine written from scratch in Rust ♞

bevy - A refreshingly simple data-driven game engine built in Rust

chess_perft - Test the chess rust library provided by jordanbray/chess

mold - Mold: A Modern Linker 🦠

Cadabra - Original chess engine written in rust

camel - Bitboard-based UCI-compatible chess/chess960 engine written from scratch in Rust.

cargo-bloat - Find out what takes most of the space in your executable.

chess-library - C++ chess library

rush - Pure Rust chess engine.