• zea
      link
      fedilink
      arrow-up
      37
      ·
      1 month ago

      I bet they have a copy of every native library they use except like libc, and probably don’t do any dead code elimination on those. And maybe they also have copies of the app for different ARM versions. And then an additional 20MB of JavaScript because everyone does these days.

      • Superb
        link
        fedilink
        English
        arrow-up
        13
        ·
        1 month ago

        Don’t be silly, the whole app is JS!

    • pine
      link
      fedilink
      arrow-up
      21
      ·
      1 month ago

      Gotta bundle the entirety of nwjs/electron. There’s simply no other way.

      • unexposedhazard@discuss.tchncs.de
        link
        fedilink
        arrow-up
        15
        ·
        1 month ago

        I used a linux os for my phone for a while called SailfishOS and it was great having fully fledged apps for things like maps, music, etc in the kB range. The app i used for public transport schedules was 15kB.

        • Ark-5
          link
          fedilink
          arrow-up
          3
          ·
          1 month ago

          I’d love to learn more about this. With hyprland I could see a passable “mobile” UI that feels like an extension of my main system, but I’ve not taken the dive into trying to get Linux working on a phone making calls and everything.

        • palitu@aussie.zone
          link
          fedilink
          arrow-up
          3
          ·
          1 month ago

          I am very conscious of how much data I use due to where I now live. I have noticed that flatpak’s have a massive download size (100’s of megs), especially when compared to the deb package (kb to mb) 2-3 orders of magnitude more.

          • unexposedhazard@discuss.tchncs.de
            link
            fedilink
            arrow-up
            5
            ·
            1 month ago

            Anyone correct me if im wrong but afaik, .deb packages just install the actual program and can utilize your systems existing packages as dependencies, while flatpaks are completely isolated and need to bring loads of dependencies with them. This whole trend towards isolated software packages is nice for security and compatibility, but yeah size and performance are comparably dogshit.