A lot of this has to do with what we consider "compilation". Does `cargo check` count? Does `rust-analyzer` count? `cargo fmt`? And then are we talking about first builds, or rebuilds? I don't think it's at all obvious that Rust couldn't be as fast as e.g. Golang for most tasks.
-
-
Show this thread
-
I guess my skepticism of claims that describe performance in absolutes is that people used to make some pretty strong claims about JavaScript perf too. And then V8 came along and proved that JS could be optimized just fine. It required work, but certainly wasn't impossible.
Show this thread
End of conversation
New conversation -
-
-
It's true. rustc does so much work that the Go compiler is happy to leave to the programmer, it could never catch up. And people who consider this a point in Go's favour deserve Go.

-
Then again, Rust turnaround time could improve considerably if the compiler becomes an 'always on/incremental updating service. With good caching and language server integration, most if not all checks should become immediate for all but large newly checked out projects.
- 1 more reply
New conversation -
-
-
Tbh, as someone who's been using dynamic languages the entire time until I started using Rust, the compilation time has never bothered me in practice and I'm surprised people make a fuss about it at all.
-
I find it fine for smaller things but we have a project that takes nearly 30 minutes to compile:/
- 6 more replies
New conversation -
-
-
But maybe the Go compiler will become as slow as Rustc when they introduce generics :D
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
It's kinda true (but sad) for all sophisticated compilers, GHC also can sometimes be painfully slow. Go does so little at compile time to make this a good comparison, but atleast Rust gets to beat Go at runtime for a large class of programs :)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.