|
|
|
|
|
by okanat
1 day ago
|
|
https://archlinux.org/packages/extra/x86_64/blender/ https://archlinux.org/packages/extra/x86_64/apache/ They look no different than your usual Rust crate. And their full flattened dependency trees already exceeds hundreds of packages. C/C++ libraries have much more complex build systems with many optional features shipped inside the library. Just think of curl and how many protocols it supports. Rust's build system, however, is extremely simplistic and limited. So to have things like multiple backends for rendering, parsing, serializing etc. you have to split your library into multiple crates due to limitations Cargo impose on you. So the full equivalent of curl will be 20+ individual crates. I think the hundreds of dependencies is overblown due to this effect. I maintain my argument. C and C++ projects are just as complex and vulnerable. CMake and fully binary distribution via Linux package managers just hide their complexity. |
|