3 ms·
I don’t think 64mb of ram is necessary at all. And minutes? What are you compiling? How big is your codebase? Are you doing everything in docker or something?
by josephg 4y ago
I don’t think 64mb of ram is necessary at all.
And minutes? What are you compiling? How big is your codebase? Are you doing everything in docker or something?
Rustc is slow but I’ve never seen it be that bad. I’ve been working on a rust project for a couple of years, currently sitting at about 40k loc. Incremental debug builds still only take a second or two. Full compiles take about 10 seconds.
- Dowwie 4y ago32GB ram is a minimum, not 64. No docker for local dev. If you find this unrelatable, you're not working on a monolith web application using dozens of dependencies and utilizing macros to the extent that one would be if they were using sqlx and other libs.
- bogeholm 4y agoI’ve used a first-gen M1 MacBook Pro with 16GB of RAM, and that was pretty good for Rust development. No hard numbers, just anecdata. Edit: now I think about it, the first time I heard the fan on the machine (out of ~3 times in ~2 years) was when I built a Rust project while running Airflow in docker compose under Rosetta emulation, back when one of the Docket images didn’t support arm64
- Narishma 4y ago> I don’t think 64mb of ram is necessary at all. Indeed, 640KB should be more than enough.