by ssivark · 8y ago · 0 comments
- One could compose together (arbitrary) combinations of a kernel of choice and userspace of choice?
- In "userspace" one could cobble together dependencies as needed for any project, and run sandboxed applications, which can only share information through common parent packages.
- No single package version for the "system". (This is already being done, in many examples)
- Maybe the kernel is just another package to be managed. Just something that starts when the computer boots, and lets you invoke the package manager to change state.
- Distributions would then just become snapshots of how different pieces are combined together. Sort of like what Docker images are created from dockerfiles today.
It would be enlightening to understand which aspects are possible today or in the foreseeable future, and what are the impediments to doing this. Or reasons why one might not actually want such a structure.
Making it work together is a lot of work, testing, and tweaking.
this is only relevant for core utilities though. It does not mean anything for my mail client to work "together" with my music production application. Apps in appstores do not work "together" yet they are wildly successful.
Correct, but they both might use pulseaudio, xorg, desktop notifications and much more. A lot of stuff is "core".
> Apps in appstores do not work "together" yet they are wildly successful
Only because of the ubiquitous hardware. appstores did not invent anything new.
The distributions themselves are also a source of binary incompatibility. For example, one distribution may use symbol versioning while another may not, and this means users cannot download a random binary meant for one distribution and expect it to run on another one even if the versions of dependencies are the same. Compiling from source ensures the resulting software is binary compatible but the source is not guaranteed to be available since programs may be proprietary.
Isn't this already so in most Linux distributions like Debian and its derivatives, RHEL and its derivatives, etc.?