Re:Integrating “safe” languages into OpenBSD?
by ratmice on Monday December 04, 2017 @07:07PM
(#15848735)
FWIW, i've compiled llvm/rust with 2G, I never ran out of ram compiling rust, but in llvm gnu-ld would run out of memory, using the gold linker fixes that, as well as the configuration flag for enabling separate debug info -DLLVM_USE_SPLIT_DWARF=ON
The compiler is one of the largest Rust programs that exist. Last I checked, it was three quarters of a million lines of Rust, but a quick loc shows 1.5 million lines of Rust, 2.3 million lines of C++, and 900,000 lines of C (again, mostly LLVM and jemalloc).
Servo is also very large, and they don't report having OOMs, though I'm not sure if they build on 32-bit or just cross-compile.