cargo-bloat
Find out what takes most of the space in your executable. (by RazrFalcon)
shakmaty
A Rust library for chess and chess variant rules and operations (by niklasf)
cargo-bloat | shakmaty | |
---|---|---|
5 | 2 | |
2,110 | 193 | |
- | - | |
1.8 | 7.5 | |
over 1 year ago | 15 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.
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.
cargo-bloat
Posts with mentions or reviews of cargo-bloat.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-17.
- What's in a Rust binary?
-
Using Rust for kernel development
And, importantly, Rust has good tooling for finding out where bloat, if any, comes from, cargo-bloat
-
Compile time
You can run cargo bloat --time --release -j 1 (github) to see what dependency takes the most time and try to replace it. It would probably be some proc-macro monstrosity.
-
Profiling function size
I think you will be interested in cargo-bloat
-
Very fat binaries ?
Try to use this tool to get some insight. https://github.com/RazrFalcon/cargo-bloat
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
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
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 cargo-bloat and shakmaty you can also consider the following projects:
resvg - An SVG rendering library.
cozy-chess - A Chess and Chess960 move generation library written in Rust
mold - Mold: A Modern Linker ðŸ¦
chess - A rust library to manage chess move generation
bevy - A refreshingly simple data-driven game engine built in Rust
rust - Empowering everyone to build reliable and efficient software.
min-sized-rust - 🦀 How to minimize Rust binary size 📦
rush - Pure Rust chess engine.
Warp - Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
tantabus - WIP Rust UCI chess engine