• nitrolife@rekabu.ru
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    5 months ago

    I’ve been working on Linux for 15 years now and I perfectly remember the origin of many concepts. If you look at it through time, what would it be like:

    1. We can build applications with external dependencies or a single binary, what should we choose?
    2. The community is abandoning a single binary due to the increased weight of applications and memory consumption and libraries problems
    3. Dependency hell is coming …
    4. Snap, flatpack, appimage and other strange solutions are inventing something, which are essentially a single binary, but with an overlay (if the developer has hands from the right place, which is often not the case)
    5. Someone on lemmy says that he literally doesn’t care if the application is built in a single binary, consumes extra memory and have libraries problems. Just close all permissions for that application…

    Well, all I can say about this is just assemble a single binary for all applications, stop doing nonsense with a flatpack/snap/etc.

    UPD: or if you really want to break all the conventions, just use nixos. You don’t need snap/flatpack/etc.

    • grinka@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      Flatpak is not single binary, Flatpaks have shared runtime (For example Freedesktop, GNOME, KDE runtimes)

      • nitrolife@rekabu.ru
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        Provided that flatpack has a common parent container, which is not always the case. More precisely, it almost never does. Because someone updates flatpack to new versions of the parent containers, and someone else does not.

        • grinka@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 months ago

          More precisely, it almost never does.

          I don’t know any flatpak in my system that don’t use runtime (I have around 50 flatpak apps installed), or am I misunderstanding your point

          • nitrolife@rekabu.ru
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            5 months ago

            runtime have versions too. If one runtime version use only one flatpack than exactly same as just static linking binary. Flatpack have just docker layeredfs and firejail in base.

            id: org.gnome.Dictionary runtime: org.gnome.Platform runtime-version: '45' <- here sdk: org.gnome.Sdk command: gnome-dictionary

            • grinka@lemmy.zip
              link
              fedilink
              English
              arrow-up
              0
              ·
              5 months ago

              I see problem in that only in unmaintained apps (like org.gnome.Dictionary), I have only GNOME 47 & 48 for example and both of them still updating

              • nitrolife@rekabu.ru
                link
                fedilink
                arrow-up
                1
                ·
                5 months ago

                In the initial stage of shared library support, everything was exactly the same. Let’s look at it in 5 years… When some soft will archived and die, some stop maintaining, some new crated and brakes old dependencies…