Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression. Learn more →
Top 18 Rust Algorithm Projects
-
This repo could suit your needs TheAlgorithms
-
Algorithm Cookbook in Rust - Aram Ebtekar
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
Project mention: Why is Rust not more popular in ML and secure edge computing? | /r/rust | 2022-11-13
-
cv
Rust CV mono-repo. Contains pure-Rust dependencies which attempt to encapsulate the capability of OpenCV, OpenMVG, and vSLAM frameworks in a cohesive set of APIs.
Project mention: Good example of high performance Rust project without unsafe code? | /r/rust | 2022-08-02Rust can absolutely be used without unsafe to create some of the fastest code out there, but you need to try and use data-oriented design where possible to make things flow smoothly and avoid runtime checks. The hardest thing to use data-oriented design for, in my opinion, is graphs. I find that actor systems can be used instead of graphs, but it is difficult. Generally I end up using slotmap to make multiple arenas and then putting them into one large object with lots of methods to operate on the graph structure. If you want an example of that, this is probably the most complicated code I have made this way: https://github.com/rust-cv/cv/blob/511024feaa077a9af377cca7b654ad3d57d3bd6a/cv-sfm/src/lib.rs. It may not be entirely helpful to understand the whole codebase, but if you are curious to see how I do graphs in Rust with slotmap, this can be a good reference.
-
Project mention: Who ranks better? Memgraph vs. NetworkX PageRank | news.ycombinator.com | 2022-11-23
This is a very interesting benchmark! I'd like to add a library to the comparison, which has recently been released.
It's called graph-mate (https://pypi.org/project/graph-mate/) and it's a wrapper around a Rust implementation for parallel graph algorithms (https://crates.io/crates/graph) that a friend and I work on.
We created a Jupyter notebook that loads the same Wikipedia articles and runs page rank with the same parameters: https://github.com/s1ck/graph/blob/d0a45116b1891daa39f493647...
-
How does it compare with huniq and runiq?
-
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
Project mention: Gryf - a new graph data structure library aspiring to be convenient, versatile, correct and performant | /r/rust | 2023-05-21
Interesting use case. I think that the way to go would be to create adapter which would wrap (a reference to) the original graph and provide trait implementations that call the methods of the underlying graph but doing filtering after that. That is definitely something that can be included in the library. I created an issue for this.
-
-
Project mention: Is there a quadtree implementation with generic types for the coordinates? | /r/rust | 2022-10-27
Alitle google search https://github.com/ambuc/quadtree
-
staticstep
Provides truly zero-cost alternatives to Iterator::step_by for both incrementing and decrementing any type that satisfies RangeBounds<T: Copy + Default + Step>.
-
advent-of-code
🎄 This is my set of awesome solutions for the Advent of Code puzzles (by garciparedes)
-
Project mention: Hello everyone, I am building a machine learning library called Mars (stands for MAchineRS) | /r/rust | 2022-12-25
-
-
-
Mentioning it again, I am doing Advent of Code in Rust this year. Link to repo if anyone's interested.
-
- Where do I start learning? Please pay attention to manually-selected courses and learning materials on Rust. You may start from “General-purpose courses” section. Starred resources are highly recommended.
-
Argh, a naïve solutions takes about 60ms on my laptop : https://github.com/remi-dupre/algorithmics/blob/master/advent-of-code/2022/src/day20.rs
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust Algorithms related posts
- Gryf - a new graph data structure library aspiring to be convenient, versatile, correct and performant
- Zet 1.0 is out (compare to uniq and comm)
- Dynamic programming solutions in Rust?
- Who ranks better? Memgraph vs. NetworkX PageRank
- We are happy to announce graph v0.3.0 - The crate ships with parallel graph algorithms and APIs to implement your own algorithms - Now on stable and with Python bindings.
- Why is Rust not more popular in ML and secure edge computing?
- Data structures/algorithms course in rust?
-
A note from our sponsor - InfluxDB
www.influxdata.com | 5 Jun 2023
Index
What are some of the best open-source Algorithm projects in Rust? This list will help you:
Project | Stars | |
---|---|---|
1 | Rust | 16,089 |
2 | rust-algorithms | 3,461 |
3 | linfa | 2,670 |
4 | cv | 516 |
5 | graph | 285 |
6 | runiq | 185 |
7 | thermite | 155 |
8 | gryf | 57 |
9 | usher | 37 |
10 | quadtree | 18 |
11 | staticstep | 14 |
12 | advent-of-code | 7 |
13 | Mars | 7 |
14 | lib-wc | 4 |
15 | algo | 3 |
16 | advent-of-code-2022 | 3 |
17 | LearnRustTogether | 3 |
18 | algorithmics | 0 |