←back to thread

302 points Bogdanp | 1 comments | | HN request time: 0.216s | source
Show context
adastra22 ◴[] No.44390813[source]
As a former C++ developer, claims that rust compilation is slow leave me scratching my head.
replies(5): >>44390867 #>>44390918 #>>44391177 #>>44395299 #>>44403069 #
1. pjmlp ◴[] No.44403069[source]
Not sure about you, but traditionally my C++ have always been faster than out of the box experience with Rust.

Thanks to pre-compiled headers, incremental compiler, incremental linker, and using binary libraries for all dependencies. Nowadays modules as well.

Rust compiles from scratch, some crates might get compiled multiple times due to conflicting configurations on the dependency graph, binary libraries require additional setup for something like scache.