by alain_gilbert · 1y ago · 0 comments
I definitely do. Not necessarily because of the 10ms vs 1s. But because of the later stage when it becomes 600ms vs 60s.
What later stage though, as I said I worked with big code bases on old hardware without issues.
I'm simply not convinced that there exist a situation where incremental rebuild of the crate you're working on is going to take 60s, at all, especially if you're using hardware from this decade.
The most recent Rust version ships with `lld` so it shouldn't be the case anymore (afaik `lld` is a bit slower than the `mold` linker, but it's close, much closer than the system linker that was previously being used by default).
(Not affiliated with the project. Just switched to it and never looked back.)
I'd be thrilled to have it build in 300ms.
(Using a macbook pro 2019)
Wait, aren't Go builds supposed to be fast?
There's no “big tutorial” though. There's a section about compilation time performance[1] but it's arguably not “big”, and the most impactful parts of it is about linking time, not compilation time. And half of the section is now obsolete since rust uses `lld` by default.
[1] https://bevy.org/learn/quick-start/getting-started/setup/#en...