How do they compare to GCC in (a) size and (b) portability.
How do they compare to GCC in (a) size and (b) portability.
328.7M llvmbox-15.0.7+3-x86_64-linux
242.3M x86_64-linux-musl-native
169.4M x86_64-linux-musl-cross
A statically-compiled Rust toolchain would exceed these sizes by a relatively large margin
References
https://github.com/savi-lang/llvm-static/releases/expanded_a...
https://users-rust-lang.org/t/how-to-build-a-statically-link...
https://rustc-dev-guide.rust-lang.org/building/how-to-build-...
In general I've found rust pretty easy to build.
Does anyone have any comments on Bazel[1] because I'm kind of settling on using it whenever it's appropriate (c/c++)?..
Compiling a statically-linked cmake is time-consuming and difficult if not infeasible.