• Blackmist@feddit.uk
    link
    fedilink
    English
    arrow-up
    61
    ·
    8 hours ago

    Fucking Chrome/Electron is why.

    I honestly wouldn’t mind that if they could all use the exact same runtime so the apps could be a few MB each, but nooooo.

    • nutt_goblin@lemmy.world
      link
      fedilink
      arrow-up
      17
      arrow-down
      1
      ·
      edit-2
      7 hours ago

      See: Webview2

      Unfortunately, it is extremely painful to work with😔 Enjoy rolling your own script versioning and update systems instead of using squirrel et al

      Edit: I think Tauri works by targeting this and webkitgtk via their wrapper library, unfortunately I can’t get my coworkers to write rust

      • kungen@feddit.nu
        link
        fedilink
        arrow-up
        5
        ·
        4 hours ago

        Isn’t that just the same pig, just wearing different makeup? I’m not a fan of msedgewebview2.exe allocating 500+ MB RAM just because Teams is open, but maybe that’s Teams fault…

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

      Is there any alternatives to electron ? And why people’s doesn’t move on to alternatives if electron is huge & heavy resources ?

      • dpflug@kbin.earth
        link
        fedilink
        arrow-up
        8
        ·
        5 hours ago

        I mean, Object Pascal was doing the “write once, run anywhere” thing decades ago. Java, too. The former, especially, can make very small programs with big features.

        • uuldika@lemmy.ml
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          2 hours ago

          Java (and Object Pascal, I’m assuming) have very old-looking UIs. Discord’s gonna have trouble attracting users if their client looks like a billing system from 2005. Also, what do you do about the web client? Implement the UI once in HTML/CSS/JS, and again in JForms?

          So if you’re picking one UI to make cross-platform, and you need a web client, do you pick JForms and make it work on the web? or React and make it work on desktop?

          • Takumidesh@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            29 minutes ago

            Yea, electron has flaws, but it’s basically the only way to make a truly cross platform native and web app. I would rather take a larger installed size and actually have apps that are available everywhere.

            The sad truth is there aren’t enough developers to go around to make sleek native apps for every platform, so something that significantly frees dev time is a great real world solution for that.