Re:Package Management Is a Wicked Problem
by ragall on Wednesday January 28, 2026 @12:18PM
(#46798357)
Cargo doesn't work. I'm trying to use it in a monorepo and its cacheing story is horrible. The devs refused when I proposed to switch it to Bazel years ago and now they're regretting it.
Re:Package Management Is a Wicked Problem
by skrebbel on Wednesday January 28, 2026 @11:41AM
(#46797753)
NPM is plenty opinionated. For all its mistakes, it got lots of things uniquely right too. For example it’s very uncommon in JS land to have version conflicts (“dependency hell”). If two deps both need SuperFoo but different versions, NPM just installs both and things Generally Just Work. Exceptions are gross libraries with lots of global state (such as React) but fortunately those are very uncommon in JS land.
People love to complain about node_modules being a black hole but that size bought JS land an advantage that’s not very common among popular languages.
Re:Package Management Is a Wicked Problem
by spankalee on Wednesday January 28, 2026 @12:18PM
(#46798362)
Yeah, npm never has "version lock" where it can't figure out a valid solution to the version constraints.
This is mostly good, but version lock does encourage packages to accept wide ranges of dependencies, and to update their dependency ranges frequently, instead of just sitting there on old versions.
Re:Package Management Is a Wicked Problem
by direwolf20 on Thursday January 29, 2026 @08:53AM
(#46810209)
This largely works because JavaScript is duck–typed. You couldn't do this in Java or C.
"but bun!" — faster shovel, same hole