Re:Why Bloat Is Still Software's Biggest Vulnerability
by jurschreuder on Monday February 12, 2024 @02:27PM
(#39349162)
Just to pick out some examples, rust-analyzer is 28M against clangd which is only 291K; ripgrep is 4.7M against GNU grep which is only 211K (binaries have already been strip-ed in both cases).
The fact that Rust makes it easy to pull in a large number of small dependencies instead of a few enormous dependencies is irrelevant. You aren't using any more code.
For example are you counting Rusts `regex` crate as a dependency? Well that's just in the standard library for C++.
Does Boost count as a single dependency in C++? Because that would be like 30 separate crates in Rust.