3 ms·
That's kind of unfair since operating systems ship with large libraries that C can dynamically link to, but rust has no such advantage.
by lawn 6y ago
That's kind of unfair since operating systems ship with large libraries that C can dynamically link to, but rust has no such advantage.
- ben0x539 6y agoRust binaries effectively statically link a lot of code via monomorphizing generics. I may well be wrong but I don't think you could get Rust binaries down to C sizes just by separating all the dynamically linkable parts.
- CameronNemo 6y agoThat is Rust's own fault for not making their standard library ABI stable beyond a single release (and making releases so frequent). If they kept the ABI stable for just a year and gave library authors a way to do the same, distros might choose to dynamically link the stdlib, serde, clap, and other commonly used crates.