logoalt Hacker News

bayindirh • yesterday at 11:33 PM • 4 replies • view on HN

Languages bringing in their own packaging ecosystem via their tool always fall prey to something I call "leftpad syndrome". Go, Rust, JS, Python...

Reduce friction for adding packages to a project, and everyone imports everything in a whim.

sudo-rs was pulling in a couple of million LOCs at one point. Yeah, most of it was unused at the end of the day, but it's a massive surface for something like sudo of all things.

Cargo culting is considered harmful.


Replies

orphea • today at 9:58 AM

  > Languages bringing in their own packaging ecosystem via their tool always fall prey to something I call "leftpad syndrome"
I'm not aware of such problem in C#, for example.
toast0 • today at 5:46 AM

CPAN doesn't seem to have this problem. A few dependencies have dependencies, but it doesn't seem to be the same deal where you wanted one thing and that pulls in 7 layers of dependencies.

About half of the things I want from CPAN are available through distribution packages, and things will usually work when I use the distribution packages I can get and then install the rest from CPAN.

➕ show 1 reply
krior • today at 7:24 AM

The alternative is that everyone is implementing half-baked, bug-ridden "standard"-functionality for every one of their projects. Is that so much better?

➕ show 4 replies
metaltyphoon • today at 12:04 AM

The world doesn't run on C and C++ only so how do you suppose ecosystems work distributing packages for other languages?

➕ show 2 replies