logoalt Hacker News

hbbiotoday at 2:46 PM3 repliesview on HN

Rust suffers from the same faults as the JS ecosystem. Any significant crate imports hundreds if not thousands of dependencies. The probability that one of the authors gets targeted by AI-assisted attacks is just too high.

Also most of these dependencies provide a breadth of features that the end package does probably not need.


Replies

quikoatoday at 4:14 PM

A language without a large stdlib pushes this that functionality into (transitive) dependencies. I hope more language will adopt batteries included approach.

show 1 reply
dwrobertstoday at 3:39 PM

My experience has been that it has a major advantage, in that freeze + offline actually work properly. You can collect the dependencies you need once, put them in version control and never ever talk to remote registry again

account42today at 3:56 PM

Yes, the lack of a language package manager for older programming languages is a feature.