As a non-JavaScript developer, drawing this distinction feels incredibly silly to me…
As a non-JavaScript developer, drawing this distinction feels incredibly silly to me…
pnpm lets you download packages to your computer -- a "manager", if you will. JSR gives you a centralized place to find packages at -- a "registry", if you will. We use different words because these two things are not interchangeable and it's not just a JS thing.
Put differently — the tool is the standard, and you have a choice of repos. In JS it's the other way around?
I would describe the JS situation as… hmm… "oddly tilted" in comparison to other ecosystems; the closest thing I can think of is Python's package management situation?
[¹] I'm not counting GUI frontends here, since I'm relatively sure they just call into the same tool.
yum, dnf...
The package registries also have multiple. Sticking with apt repos, Ubuntu has one per release, Debian has one per release, Mint has one per release...
So it's an n:n situation.
See also my response to your earlier comment; in the npm ecosystem you can choose your package registry, and your package manager/client, not to mention your target runtime. Coupling any of these distinct concepts is not the norm.
I was talking about the non-JS world, i.e. tools like aptitude and Ubuntu's GUI package manager.