Re:Why Flatpak Apps Use So Much Disk Space on Linux
by int_19h on Sunday May 04, 2025 @06:32PM
(#43890159)
Virtual environments don't solve the problem of two dependencies that you need having conflicting requirements.
[ Parent
| on HN ]
Re:Why Flatpak Apps Use So Much Disk Space on Linux
by o11c on Sunday May 04, 2025 @08:28PM
(#43890832)
That subproblem is fundamentally unfixable unless you're willing to allow incompatible objects to be passed around, which is a really bad idea.
If your code does:
o = foo_v1.get_obj()
foo_v2.use_obj(o)
then this is almost always undefined behavior, since the authors of `foo` will almost certainly not write their APIs to accept instances with different internals.
Re:Why Flatpak Apps Use So Much Disk Space on Linux
by Dylan16807 on Monday May 05, 2025 @03:05AM
(#43892580)
With a more advanced system you can look at whether a package's use of foo is exposed in its API or completely internal, and then allow different isolated islands of packages to use different versions of foo.