News for hackers. Stuff that matters.
Re:GoboLinux by account-5 on Wednesday February 28, 2024 @07:22AM (#39536962)
Can someone way cleverer than me explain why, or if, this is better than things like snap/flatpaks as well as distros like nixos?

This seems, at face value without a deep understanding, to be the simplest way to do it. Again the caveat is my lack of knowledge.

Re:GoboLinux by akvadrako on Wednesday February 28, 2024 @07:48AM (#39537153)
Do you mean just putting each app in it's own folder? That just isn't enough for isolation and could be massively wasteful, depending how far you take it.

Flatpak and NixOS are more complex because it's worth it. For example, they don't duplicate exact versions of dependencies on disk.

Re:GoboLinux by palata on Wednesday February 28, 2024 @08:21AM (#39537508)
> For example, they don't duplicate exact versions of dependencies on disk.

Doesn't feel like GoboLinux would either, does it?

Re:GoboLinux by Gormo on Wednesday February 28, 2024 @10:23AM (#39539105)
Flatpak's complexity is also a product of trying to function as a single solution to two different problems. Runtime isolation and packaging/distribution are different things, and there is no compelling reason for them to be conflated together. How you sandbox the execution of your applications should not be dependent on any particular filesystem layout or package format, nor vice versa.

FreeBSD does a good job with this: applications are installed into a standard Unix filesystem with conventional packages and the ports collection. Isolation is then implemented via jails.

The Linux equivalent of using standalone isolation layers, like firejail, on top of standard distro packaging, is far superior to Flatpak.

Re:GoboLinux by nmz on Wednesday February 28, 2024 @05:18PM (#39544192)
You are aware that windows has each app on its own folder in program\ files and its completely fine. ext4 supports an insane amount of files, so much so that unless you're doing something really out there, you're never going to reach the limit.
Re:GoboLinux by charcircuit on Wednesday February 28, 2024 @07:58AM (#39537260)
snaps and flatpaks are focused more distribution and are "sandboxed" (quotes because their are security issues with them). NixOS breaks compatibility with existing programs unlike gobo, but NixOS's package repository is exponentially better maintained where gobo's is incomplete and years out of date.

All of these are all still behind how Android stores apps. On Android each application can be distributed using a single file that is easy to distribute. Each application is properly sandboxed. Each application gets its own directory. And something all of the other things mentioned here are missing, each application gets its own subdirectories in the app's directory for storing its state (there are different ones for each user).

Re:GoboLinux by account-5 on Wednesday February 28, 2024 @09:25AM (#39538326)
This makes sense. If there's one thing windows can do better than Linux it's portable applications. The vast majority of my daily drivers on windows can run from my memory stick on any system without installation. Though this is not the same as what you're taking about.
Re:GoboLinux by ddev0 on Thursday February 29, 2024 @06:49AM (#39548186)
What you're looking for sounds like AppImages (https://appimage.org/) . I have only used them while downloading games from itch.io, etc. (since i prefer package managers) but they seem to work out of the box on popular distros.