Improving Rust compile times to enable adoption of memory safety

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
  • ripgrep

    ripgrep recursively searches directories for a regex pattern while respecting your gitignore

  • $ git clone https://github.com/BurntSushi/ripgrep $ cd ripgrep $ git checkout 0.8.0 $ time cargo +1.20.0 build --release real 34.367 user 1:07.36 sys 1.568 maxmem 520 MB faults 1575 $ time cargo +1.67.0 build --release [... snip sooooo many warnings, lol ...] real 7.761 user 1:32.29 sys 4.489 maxmem 609 MB faults 7503

  • mold

    Mold: A Modern Linker 🦠

  • Mold (https://github.com/rui314/mold) make a big difference on linux.

  • 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.

    InfluxDB logo
  • hyperfine

    A command-line benchmarking tool

  • I'd suggest timing it with hyperfine rather than time. (Just to minimize variance, etc.)

  • crater

    Run experiments across parts of the Rust ecosystem! (by rust-lang)

  • See https://github.com/rust-lang/crater

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