rust's compilation times are as terrible as c++'s?
rust's compilation times are as terrible as c++'s?
Incremental C++ builds can be lightning fast, or it can be ridiculously slow. I've worked on large projects where change + incremental compile + test was less than 5 seconds. And I've worked with project where no effort was made where the same could take 10 minutes.
However C++'s compilation units are smaller than Rust's which helps it to have faster incremental compilation times for small changes.
So, same order of magnitude basically.
AAA games need less resources than those tree walkers
Edit: I quickly realised, this might only because of Rust's—in my opinion—superior type system and tooling, so maybe it just requires less waiting for compilations than when working C++.
Edit 2: I've never actually measured Rust compilation times, but even for large-ish graphical codebases (wezterm, alacritty, bevy games) I've compiled from scratch, it felt noticeably faster even then.