Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The "npm-ness" of Cargo (centralized and standardized dependency management used at every opportunity) is generally pitched as one of the primary developer experience advantages over C++.


The thing is, just having a centralized standardized dependency manager doesn't in itself force your ecosystem into this dangerous "micro dependency" pattern. Java'd Maven is also a centralized standardized dependency manager, as is Python's PyPI. However, neither the Java nor the Python ecosystem have devolved into having dependency libraries with 4 methods in them becoming used and required by major libraries.


For those missing the npm like experience in C, they can use apt, yum, dnf, winget, nuget, conan, vcpkg.


In a large enough C codebase, you may even find yourself somehow using all of these simultaneously. :)


Yep.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: