… and I can’t even continue the chat from my phone.

  • zoey@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    216
    arrow-down
    5
    ·
    5 months ago

    Such is the state of Electron.
    I’m slowly stopping to care about web apps, however the amount of shit Electron causes is through the roof. Discord, Element, Signal, even Steam is full of it, so you just end up having 8 different “programs” running with every single one using at least around 400MB of RAM.
    Can’t wait to see something using Rust and Tauri. Graphite wink wink

    • taaz@biglemmowski.win
      link
      fedilink
      English
      arrow-up
      90
      arrow-down
      1
      ·
      edit-2
      5 months ago

      Steam is close but actually not electron, they use CEF - Chromium Embedded Framework which is something Electron uses too under the hood (afair)

      • flubba86@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        5 months ago

        I use a whole bunch of Linux distros at work (CentOS, alpine, ubuntu, debian, opensuse) and a bunch on my devices at home (mint, fedora, nobara, and manjaro), and so far the only distro I’ve seen ship decoupled shared electron libs like you described is Manjaro (and presumably Arch).

    • Blackmist@feddit.uk
      link
      fedilink
      English
      arrow-up
      10
      ·
      5 months ago

      I wouldn’t mind so much if they all just used the same bundle of stuff, and you could install that once, and then the apps were all like 2MB each.

      But no, big fucking bundle of shit, every single time.

      • masterspace@lemmy.ca
        link
        fedilink
        English
        arrow-up
        10
        arrow-down
        1
        ·
        edit-2
        5 months ago

        Eh, that’s not the joy you think it is.

        That’s how software used to be distributed and that’s where the terms DLL / Dependency Hell come from and why programs used to not uninstall cleanly and break other programs, etc.

        It’s more efficient, but it’s also brittler and a lot more complex to manage. Conversely, bundling everything together with all its dependencies is a lot easier to manage, and a lot more robust overall, but comes at the expense of storage capacity and network bandwidth.

        • Captain Janeway@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 months ago

          Would be kind of cool to allow people to choose an install method. As someone who has experienced low bandwidth in rural homes, it would be nice to avoid the waste at the cost of possibly managing chromium versions myself.

    • Killing_Spark@feddit.de
      link
      fedilink
      English
      arrow-up
      8
      ·
      5 months ago

      I really want to see the zygote approach worked out for electron. It’s working really well for android but with electron there are just too many different versions used by the different programs for that to make sense.

    • alyth@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      5 months ago

      Of the apps you mentioned, I can use Discord and Element in my browser. WhatsApp even installs as a PWA. And Steam games can be launched through Lutris afaik?

      There is no such option with Signal though.

      • zoey@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        14
        ·
        5 months ago

        With Discord in browser, you lose Krisp, RPC ipc socket support (aRPC might work, no clue), and from what I remember screensharing only worked with browser tab capture.
        Element will eat your RAM no matter where it’s running. You could add it as a Nextcloud app to triple your RAM usage! Woo
        And you can’t run Steam games without the Steam client running. That’s how their DRM works. (Unless you use the goldberg steam emulator, which is a whole another thing to talk about)

      • JoeyJoeJoeJr@lemmy.ml
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        1
        ·
        5 months ago

        Using an E2E chat app in your browser necessarily makes the keys and decrypted messages available to your browser. They would have the ability to read messages, impersonate users, alter messages, etc. It would defeat the purpose of a secure messaging platform.

        • alyth@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          5 months ago

          I don’t get it. Who is “they”? Why can’t you fetch the encrypted message from the server and then decrypt it client side?

          • JoeyJoeJoeJr@lemmy.ml
            link
            fedilink
            English
            arrow-up
            8
            arrow-down
            1
            ·
            edit-2
            5 months ago

            “They” is the browser/browser maker. The browser, acting as the client, would have access to the keys and data. The browser maker could do whatever they want with it.

            To be clear, I’m not saying they would, only that it defeats the purpose of an E2E chat, where your goal is to minimize/eliminate the possibility of snooping.

            • Socsa@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              2
              ·
              5 months ago

              You realize that your kernel which loads keys into memory can also access all this right? So can anything which shares memory space on the platform.

              • Natanael@slrpnk.net
                link
                fedilink
                English
                arrow-up
                2
                ·
                5 months ago

                The bigger risk is browser exploits, not just who develops it. There’s more attack surface and more ways to exfiltrate data

          • mexicancartel@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 months ago

            I think the encrypted messages are not saved in the server. You probably have to backup from phone and restore it on pc. “They” is the other programs running on browser

    • rdri@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 months ago

      Can’t wait to see something using Rust and Tauri.

      What about sciter?