Re:Reducing Rust Incremental Compilation Times on macOS
by vlovich123 on Sunday April 18, 2021 @03:52PM
(#26855737)
In C++ land I’ve experienced the gamut from multi-minute clean builds to 30 minutes to 1.5 hours on the latest & greatest CPUs, even with ccache. 14s sounds like paradise to me.
Re:Reducing Rust Incremental Compilation Times on macOS
by O_H_E on Sunday April 18, 2021 @06:36PM
(#26857163)
Honest question, is there really no way to know whether what you wrote is working or not without waiting 20min-1H?? That sounds like hell.
Where these incremental compilation?
Re:Reducing Rust Incremental Compilation Times on macOS
by vlovich123 on Tuesday April 20, 2021 @12:32AM
(#26870700)
That’s usually clean builds. Incremental builds can be in the instant to 1-5 min depending on what line of code you change (deploy a new compiler and you’re probably rebuilding everything).
This project is a very small hyper/tokio backend API. However, I also work on a CLI tool [1] I created which has very fast recompile times, usually less than a second. Mostly because it's pretty light on dependencies.
[1]: https://github.com/jakedeichert/mask