Hacker News new | past | comments | ask | show | jobs | submit login

Sorry - my clean build was actually including the dependency fetching, which is a large part of it. My experience was in 2023 which if we go by article roughly scales with compiler performance to 5 minutes or so





I do wonder how much the fetch-source-and-build-all-dependencies approach contributes to the poor perception of compile times -- your very first experience of "how long did cargo take to build this project" will be terrible because it will include downloading and building a ton of dependencies...

Agreed - I didn't do reliable benchmarks on how long was fetch + compile dependencies vs compiling the project itself.

My build times also included fetching dependencies, which only took a few seconds on my modestly fast 8 MB/s network.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: