• ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    22
    ·
    10 hours ago

    They often are worse, because everything needed to be an electron app, so they could hire the cheaper web developers for it, and also can boast about “instant cross platform support” even if they don’t release Linux versions.

    Qt and GTK could do cross platform support, but not data collection, for big data purposes.

    • boonhet@sopuli.xyz
      link
      fedilink
      arrow-up
      5
      ·
      7 hours ago

      There’s no difference whatsoever between qt or gtk and electron for data collection. You can add networking to your application in any of those frameworks.

    • Echo Dot@feddit.uk
      link
      fedilink
      arrow-up
      8
      ·
      10 hours ago

      I don’t know why electron has to use so much memory up though. It seems to use however much RAM is currently available when it boots, the more RAM system has the more electron seems to think it needs.

      • GamingChairModel@lemmy.world
        link
        fedilink
        arrow-up
        13
        ·
        9 hours ago

        Chromium is basically Tyrone Biggums asking if y’all got any more of that RAM, so bundling that into Electron is gonna lead to the same behavior.

      • Buddahriffic@lemmy.world
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        7 hours ago

        Ib4 “uNusEd RAm iS wAStEd RaM!”

        No, unused RAM keeps my PC running fast. I remember the days where accidentally hitting the windows key while in a game meant waiting a minute for it to swap the desktop pages in, only to have to swap the game pages back when you immediately click back into it, expecting it to either crash your computer or probably disconnect from whatever server you were connected to. Fuck that shit.

        • boonhet@sopuli.xyz
          link
          fedilink
          arrow-up
          5
          ·
          7 hours ago

          I mean unused RAM is still wasted: You’d want all the things cached in RAM already so they’re ready to go.

          • Echo Dot@feddit.uk
            link
            fedilink
            arrow-up
            1
            ·
            5 hours ago

            I mean I have access to a computer with a terabyte of RAM I’m gonna go ahead and say that most applications aren’t going to need that much and if they use that much I’m gonna be cross.

            • boonhet@sopuli.xyz
              link
              fedilink
              arrow-up
              2
              ·
              3 hours ago

              Wellll

              If you have a terabyte of RAM sitting around doing literally nothing, it’s kinda being wasted. If you’re actually using it for whatever application can make good use of it, which I’m assuming is some heavy-duty scientific computation or running full size AI models or something, then it’s no longer being wasted.

              And yes if your calculator uses the entire terabyte, that’s also memory being wasted obviously.

          • Buddahriffic@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            7 hours ago

            I don’t want my PC wasting resources trying to guess every possible next action I might take. Even I don’t know for sure what games I’ll play tonight.

            • boonhet@sopuli.xyz
              link
              fedilink
              arrow-up
              4
              ·
              6 hours ago

              Well you’d want your OS to cache the start menu in the scenario you highlighted above. The game could also run better if it can cache assets not currently in use instead of waiting for the last moment to load them. Etc.

              • Buddahriffic@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                5 hours ago

                Yeah, for things that will likely be used, caching is good. I just have a problem with the “memory is free, so find more stuff to cache to fill it” or “we have gigabytes of RAM so it doesn’t matter how memory-efficient any program I write is”.

                • boonhet@sopuli.xyz
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  3 hours ago

                  “memory is free, so find more stuff to cache to fill it”

                  As long as it’s being used responsibly and freed when necessary, I don’t have a problem with this

                  “we have gigabytes of RAM so it doesn’t matter how memory-efficient any program I write is”

                  On anything running on the end user’s hardware, this I DO have a problem with.

                  I have no problem with a simple backend REST API being built on Spring Boot and requiring a damn gigabyte just to provide a /status endpoint or whatever. Because it runs on one or a few machines, controlled by the company developing it usually.

                  When a simple desktop application uses over a gigabyte because of shitty UI frameworks being used, I start having a problem with it, because that’s a gigabyte used per every single end user, and end users are more numerous than servers AND they expect their devices to do multiple things, rather than running just one application.