Re:Why is my Rust build so slow?
by lenkite on Saturday January 01, 2022 @07:01PM
(#29764223)
"compiling C++ is even worse"
In my experience, this has been the other way around. C++ gives you many tools to optimise compilation and when one one takes advantage of them (precompiled headers/shared libs/no boost, etc), the edit-compile-test cycle is fairly fast.
Rust is consistently slow to compile and not much idea of how to go about optimising compile speed.
Both languages are snails compared to Go, of-course.
In my experience, this has been the other way around. C++ gives you many tools to optimise compilation and when one one takes advantage of them (precompiled headers/shared libs/no boost, etc), the edit-compile-test cycle is fairly fast.
Rust is consistently slow to compile and not much idea of how to go about optimising compile speed.
Both languages are snails compared to Go, of-course.