3 ms·
I don't know much about package managers, but instead of demanding every app uses the same version of every library, or including all libraries in every app, wo
by mcv 1y ago
I don't know much about package managers, but instead of demanding every app uses the same version of every library, or including all libraries in every app, wouldn't it make more sense to allow different versions of libraries to exist next to each other, and every app simply picks the more up to date version that it supports?
I think that's how npm does it. Not that npm doesn't have its own dependency hell, but that's because different dependencies within the same application can end up requiring different versions of the same sub-dependency. But that's a problem only for developers.
- Vilian 1y ago...that's literally what flatpak does?, and it deduplicate everything too
- mcv 1y agoIs it? But if its only duplication is different versions of the same dependency, and it never has real duplication, then what exactly is the problem? As I said, I don't know much about these things. I thought flatpak had the app and all its dependencies together in a single package.