3 ms·
> Do you happen to know why? Look at Rust and NPM... Insane amounts of dependencies for almost every library. C and C++ famously don't have package managers,
by dismalaf 1y ago
> Do you happen to know why?
Look at Rust and NPM... Insane amounts of dependencies for almost every library.
C and C++ famously don't have package managers, well, at least not blessed ones (although you could argue Linux/Unix is a C package manager).
The idea is to be more informed about the dependencies you're bringing in, to encourage libraries to be more standalone things, and just not to automate dependency hell.
On the plus side, the Odin compiler makes it very, very easy to compile your program with dependencies.
Hell, even in my Ruby journey I've realised that 99% of what's on Rubygems is absolute trash. I basically use Rails, Faraday, RubyLLM, and not much else.
- 1718627440 1y ago> C and C++ famously don't have package managers > although you could argue Linux/Unix [package managers] [are] C package manager[s] Exactly. It's just that they don't have the bug, that they only work with programs written in a single language.
- skinnymuch 1y ago> Hell, even in my Ruby journey I've realised that 99% of what's on Rubygems is absolute trash. I basically use Rails, Faraday, RubyLLM, and not much else. Is this really the case? I just came back to Ruby and Rails recently. Haven’t explored that much yet beyond established major gems
- dismalaf 1y agoI mean, trash is subjective. Certainly a lot of abandoned gems. Case in point, for one project, I needed to pull some financial data. So used an unofficial gem for that provider. It was a mess of spaghetti and object patterns for what could have been simply a few helpers, also dependencies that clashed with another gem I was using so I simply replicated the functionality myself in like, 100 lines of code. Btw, still worth it because Ruby is an amazing language and Rails is great. Just can't blindly trust other people's code.