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
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

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