

Good list, since the three projects use public runners people can check.
Tauri
They must be cheating building from scratch (including fetching dependencies from crates.io) in github actions in <2 minutes and never freezing, despite those runners gaining a bad reputation lately.
Servo
The github runners building it in 4 minutes without freezing must be fake. Or maybe you were building SpiderMonkey from source, and that part was the problem 🙂
Gram
If you mean the Zed fork, they must be cheating building from scratch (including fetching dependencies from multiple locations and repos) in <18 minutes (the total run includes running tests) in resource-limited codeberg runners, and never freezing.
I also built this locally, and despite this being a wild project, and resource limiting the build on a workstation with a ~10 year old CPU, it finished in <24 minutes, and the target dir size (the build dir for those not familiar) is a WOPPING 3GiB (the executable alone is ~220MiB, ~168MiB if you strip it).
It was a release build just to be clear. Debug builds twice as fast (they have a custom profile with
opt-level = 1) and indeed uses a lot more disk space.I just did a release build with
--jobs=1, while measuring total RES memory of the cargo process tree. Number of pids ranged from 1 (just cargo, obviously) to 8, and max RES memory was ~3471MiB (~512MiB median, <2GiB @ 95% percentile). So not too lightweight, but not buck breaking either (a system with 2GiB RAM free + zram shouldn’t even swap).People just have unrealistic expectations. Developers could optimize the compiler for memory usage, but that would make the compiler actually slower. And who would be the target audience of such optimizations? People who want to build big Rust projects on Raspberry Pi Zero?