DEV Community

Discussion on: My second impression of Rust and why I think it's a great general-purpose language!

Collapse
 
drsensor profile image
૮༼⚆︿⚆༽つ • Edited

It's been a while I'm touching Rust. Hows the compile time now?
(especially when using heavy crates like serde, tokio, or clap)

Collapse
 
deepu105 profile image
Deepu K Sasidharan • Edited

Overall is good IMO. Not as fast as Go but worth given the advantages Rust compiler gives.
Kdash has all those dependencies and even more, especially openssl which takes some time. Incremental builds are really fast. Clean compile still takes almost a minute (on Kdash due to open-ssl static linking I guess)

Collapse
 
deepu105 profile image
Deepu K Sasidharan

Also Rust compile time is still faster than transpiling JavaScript :P

Collapse
 
drsensor profile image
૮༼⚆︿⚆༽つ

Nah, I don't believe that 😃

(though rust-analyzer still faster than tsserver, not sure if deno lsp still faster)