Hacker News new | ask | show | jobs
by zanecodes 53 days ago
A problem that C solves by simply not having a supply chain! You can vendor dependencies in Rust just as easily as you can in C; far easier in fact thanks to `cargo vendor`. Cargo won't review them for vulnerabilities though, you'll still have to do that yourself.
4 comments

There is… standard library and posix standard or other system level libraries, once you learn them you discover you don’t need to auto download a library to convert string to bool that relies on 5 other stupid libraries to work all together.

Lean yet complete standard library is what should be preferred instead of that supply chain, especially in AI era that makes half of them obsolete and redundant.

And a lot of C/C++ library are incredibly mature, so no need to update your code every 3 months just for dependency updates.
"Cargo won't review them for vulnerabilities though, you'll still have to do that yourself."

Cargo is a danger to society. People need to stop using these unsafe and dangerous technology.

C (and C++) has a supply chain. It's called unpaid Linux maintainers.

    > unpaid Linux maintainers
In 2026, I would say most are paid, certainly all of the really important leads. They are employed directly by Linux Foundation, or by a tech giant, like Google, Meta, Amazon, IBM, etc.
Not Linux as in kernel. Linux as in distro. I doubt most of Arch, NixOS, GoboLinux, Slackware maintainers are on FAANG payroll.
RHEL/Fedora SUSE/OpenSuse, ubuntu then?
That is what I was thinking.
It does, the package systems of C evolved alongside the OS, so they are now the OS package managers and also cope with all other language mangers.