4 ms·
You're exaggerating for effect, I assume. Rust compile does not require that much RAM. Now, by default the "cargo" build uses all CPU threads, so if you have a
by zlynx 6y ago
You're exaggerating for effect, I assume. Rust compile does not require that much RAM.
Now, by default the "cargo" build uses all CPU threads, so if you have a 32 core Threadripper then yes, running 64 simultaneous "rustc" compiles will use 6 or 7 gigabytes.
- hu3 6y agoLast I checked Rust needed more than 4GB of RAM to compile itself. That's one of the reasons it was rejected in OpenBSD: https://marc.info/?l=openbsd-misc&m=151233345723889&w=2 https://marc.info/?l=openbsd-misc&m=151233345723889&w=2
- monocasa 6y agoclang needs more than 4GB to compile itself too.