mastermind
cgmath-rs
mastermind | cgmath-rs | |
---|---|---|
1 | 4 | |
5 | 1,101 | |
- | 1.9% | |
4.1 | 0.0 | |
2 months ago | over 1 year ago | |
Rust | Rust | |
- | Apache License 2.0 |
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.
mastermind
-
Mastermind Solver
Mastermind intrigued me in the same way as the author some time ago, and I've used it as a standard problem when trying out new computational frameworks/methods ever since.
Here is my Rust version with multi-threading, SIMD, WASM running on your device inside a WebApp: https://0xbe7a.github.io/mastermind/
Repo: https://github.com/0xbe7a/mastermind
It is quite fast (1839202304 position pairs evaluated in 1652ms on my device) and can also exploit some symmetries inside the solution space.
cgmath-rs
-
Hey Rustaceans! Got a question? Ask here! (31/2022)!
Take a look into math libraries, like glam, nalgebra, and cgmath. I've only used these through game engines, though, so I can't offer per-basis reviews/advice.
-
Any plans for built-in support of Vec2/Vec3/Vec4 in Rust?
But I am writing a Vulkan-based game engine and I use https://crates.io/crates/cgmath extensively. It has vector classes, all the math functions I need, and it even supports a version of swizzling if you activate the feature. Maybe this crate can do what you need?
-
I want to change my point of view by key input in glium.
There's also a good crate which you can use to quickly create the required matrices called cgmath: https://crates.io/crates/cgmath
-
Rendering large 3D tilemaps with a single draw call at 3000 FPS
One great thing about Rust is that the library ecosystem is surprisingly mature, especially considering how young the language is (1.0 was released in 2015). C# also has good libraries, but from my experience it's kinda fiddly to use most open source libraries with Unity, at least without modifications. Rust's ecosystem has some excellent libraries that help with game development, such as noise for procedural generation and cgmath for linear algebra.
What are some alternatives?
glam-rs - A simple and fast linear algebra library for games and graphics
nalgebra - Linear algebra library for Rust.
stdarch - Rust's standard library vendor-specific APIs and run-time feature detection
simd-json - Rust port of simdjson
rust-gmp
hora - 🚀 efficient approximate nearest neighbor search algorithm collections library written in Rust 🦀 .
Ruma - A set of Rust crates for interacting with the Matrix chat network.
neural-network-from-scratch - A neural network library written from scratch in Rust along with a web-based application for building + training neural networks + visualizing their outputs
rust-GSL - A GSL (the GNU Scientific Library) binding for Rust
ludi317
blas - Wrappers for BLAS (Fortran)