logoalt Hacker News

BanterTroubleyesterday at 12:42 PM2 repliesview on HN

The memory usage is quite large compared to C/C++ when compiling. I use Virtual Machines for Demos on my YouTube Channel and compiling something large in Rust requires 8GB+.

In C/C++ I don't even have to worry about it.


Replies

gpmyesterday at 4:25 PM

I can't agree, I've had C/C++ builds of well known open source projects try to use >100GB of memory...

show 1 reply
windwardyesterday at 12:56 PM

I can't say the same. Telling people to use `-j$(nproc)` in lieu of `-j` to avoid the wrath of the OOM-killer is a rite of passage