Many of the typical "Algorithms" as plain Rust implementation

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SaaSHub - Software Alternatives and Reviews
  • Rust

    All Algorithms implemented in Rust (by TheAlgorithms)

    I can’t comment on the general quality, as I haven’t looked at enough, but on HN someone asked about https://github.com/TheAlgorithms/Rust/blob/master/src/general/two_sum.rs and why use a HashMap rather than sorting the lists, and… eww. It’s returning Vec where it should clearly be returning Option<(usize, usize)>. So yeah, the only one I’ve looked at has gone out of its way to be bad.

  • petgraph

    Graph data structure library for Rust.

    For graph algorithms specifically, also consider looking at the implementations in petgraph.

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts