Hacker News new | ask | show | jobs
by christiansakai 1863 days ago
I see. Last time I saw Rust compilation speed isn’t that fast.
1 comments

First time compilation is notoriously slow, since Rust has to compile your dependencies into object files, and to make "release" binary, it has to re-compile those same dependencies to make a statically linked and optimized executable. The actual debug process is fairly quick though, since it can just link the deps to a lazily compiled binary for debugging purposes.