• boff@lemmy.one
      link
      fedilink
      arrow-up
      17
      ·
      11 months ago

      Genuine question, why does it matter? Why shouldn’t a project choose a production ready method of creating cross platform compatible code to avoid duplication of efforts and cost?

      • noodlejetski@lemm.ee
        link
        fedilink
        arrow-up
        37
        ·
        11 months ago

        why does it matter?

        because most people use more than one program at the same time? fire up that one along with, I dunno, Spotify and Discord and Slack, and suddenly your midrange laptop’s RAM is all but gone.

        • boff@lemmy.one
          link
          fedilink
          arrow-up
          11
          ·
          11 months ago

          Same thing happens to me if I were to open each of those apps as chrome tabs.

          The apps you listed provide a web version also. Adding choice to the customer experience is a good thing!

          • noodlejetski@lemm.ee
            link
            fedilink
            arrow-up
            27
            ·
            11 months ago

            Adding choice to the customer

            “you can have your memory eaten by our website in your browser, or by our website in a separate browser window wearing fake moustache and glasses” doesn’t seem to be much of a choice.

            meanwhile if you launch their services using something other than a glorified Chrome tab, like spotify-qt or ripcord, they both end up consuming like one tenth of the resources the official clients do.

            • boff@lemmy.one
              link
              fedilink
              arrow-up
              4
              ·
              11 months ago

              Why do you think everyone cares to optimize every single ounce of their ram memory. There is a lot more to UX than that.

              I would rather an imperfect choice than none at all

          • nobloat@lemmy.ml
            link
            fedilink
            English
            arrow-up
            5
            ·
            11 months ago

            That’s a bad analogy. A browser with 5 tabs is not like having 5 different browsers open.

            • boff@lemmy.one
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              11 months ago

              User experience is not just about optimizing every little bit of your RAM consumption. They’re are plenty of other factors as well

              • anlumo@feddit.de
                link
                fedilink
                arrow-up
                3
                ·
                11 months ago

                Yes, and UX is bad in web applications. I‘m saying that as a web application developer.

      • lemmyvore@feddit.nl
        link
        fedilink
        English
        arrow-up
        16
        ·
        11 months ago

        Oh the fact it’s cross platform is not the issue, the issue is that Electron sucks. There are better alternatives available like Tauri, yet companies keep using Electron because that’s what their developers know and they’re afraid to try something new.

        • boff@lemmy.one
          link
          fedilink
          arrow-up
          11
          ·
          11 months ago

          If I’m a company and want to bring something to production quickly, what should i choose:

          1. A relatively new tool that has seen barely any production use and thus could have a bunch of unanticipated problems. Also nobody uses it so every new engineer you bring onto the project has to learn something entirely new before they can start really contributing. You also have no idea how long it will be supported by its developers into the long term future.

          2. A battle hardened, production tested tool that has a huge community, has been around for a long time, and that a lot more developers already know how to use.

          Sure #2 might be slower by a few fractions of a second, but if I’m in charge of the business i know which option I’m going to choose 100% of the time.

          • lemmyvore@feddit.nl
            link
            fedilink
            English
            arrow-up
            5
            ·
            11 months ago

            Look, I’m not a fan of early adoption either… but Tauri is not a one-person project that appeared yesterday. It’s been around for a while now and has important industry endorsements.

            Also, every company should have an objective and rigorous set of technical requirements for the frameworks they use. If Tauri passes those there’s no reason not to use it.

            • boff@lemmy.one
              link
              fedilink
              arrow-up
              4
              ·
              11 months ago

              As much as technologists like us wish we could prioritize efficiency and use the latest and flashiest tools all the time, that’s just not practical. When you say you want each company to have an objective set of technical requirements when choosing a toolset, you also have to have a set of practical requirements. What is the cost of friction of adding a new tech stack to the company?

              Adding electron means just learning electron. Adding Tauri means learning Tauri and Rust.

              It’s like the saying goes, “the best camera is the one you have with you”. It’s true with any business decision.

              • lemmyvore@feddit.nl
                link
                fedilink
                English
                arrow-up
                3
                ·
                11 months ago

                You have to upgrade sometime, you can’t stick to the “good old thing” forever.

                That’s the kind of thinking that makes a business miss the boat by a decade or two until they’re no longer competitive and the cost of refurbishing has become so ridiculous that they’re forced to liquidate and sell whatever’s left of value (mostly customers and assets).

        • boff@lemmy.one
          link
          fedilink
          arrow-up
          9
          ·
          edit-2
          11 months ago

          Because many users often enjoy using a dedicated application than a website. Plus it gives developers access to even more customization than browsers normally provide.

          If they customers didn’t like using it, companies wouldn’t keep making these apps.

          Personally, I’m a techie guy but I get exhausted with the number of tabs i have open at any time. I don’t need to have more dedicated to just slack, Spotify, discord etc

        • lemmyvore@feddit.nl
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          I mean, you could be using a regular email client and a regular webmail app on the browser… the fact they insist on a custom desktop app suggests the main reason is that they really want to cut those out.

      • cooopsspace@infosec.pub
        link
        fedilink
        English
        arrow-up
        5
        ·
        11 months ago

        Because when I’m looking for where all my RAM went and realise I’m running 7 instances of Chrome browser for no reason. Meanwhile an actual instance of Chrome with ~20 tabs is still a single instance, but with multiple threads.