Rust Compile Times

The cluster centers on debates about Rust's compilation speed, frequently comparing it unfavorably to C++, Go, and other languages, with discussions on whether it's a significant drawback and recent improvements.

➡️ Stable 0.7x Programming Languages
3,951
Comments
16
Years Active
5
Top Authors
#9635
Topic ID

Activity Over Time

2011
1
2012
8
2013
35
2014
79
2015
126
2016
179
2017
159
2018
186
2019
264
2020
522
2021
475
2022
443
2023
471
2024
356
2025
608
2026
39

Keywords

CPU IMHO afl.rs CI WORSE MIR ABI github.com github.c IIRC rust compile faster compiler compilation compile time fast compiling language slow

Sample Comments

FridgeSeal • May 16, 2021 • View on HN

They probably mean the compilation is much faster than Rust.

jmaygarden • Feb 22, 2021 • View on HN

Rust does not build fast. It’s more comparable to C++ if not worse.

frankzinger • May 12, 2015 • View on HN

How does Rust's compile times compare with those of C++?

Ygg2 • Apr 4, 2013 • View on HN

In what? Compilation speed? Atm Rust is no way the light nimble language they need it to be.

akmittal • Apr 8, 2023 • View on HN

Rust has very long compile time compared to Go

EugeneOZ • Nov 22, 2018 • View on HN

Finally some numbers, thanks. Yes, Rust compilation is slower.

mbrock • Dec 1, 2016 • View on HN

Compared to Rust the compiler is also really fast.

johnny22 • Apr 7, 2022 • View on HN

Rust isn't known for quick compile time.

jhasse • Jul 10, 2017 • View on HN

Rust's compile times are even worse.

saagarjha • Feb 22, 2021 • View on HN

Dependencies make this much worse, but Rust itself is not really very fast at being compiled.