• Wilson
    link
    173 years ago

    Yess exactly. Don’t wanna have multiple browsers each eating 4GB ram

    • @AgreeableLandscapeOPM
      link
      19
      edit-2
      3 years ago

      Multiple Chromium browsers that probably send telemetry to Google, no less.

      I’d be slightly less hateful of Electron if it used a non-Google engine, but alas Chrome is the new 90’s Internet Explorer and everyone needs to bend over backwards to it.

        • @AgreeableLandscapeOPM
          link
          3
          edit-2
          3 years ago

          AKA prehistoric Firefox (as in Firefox used the same codebase as Netscape, though I’m not sure if that’s still true after Firefox Quantum)

  • @ksynwa
    link
    143 years ago

    My work makes me use a VPN client that’s built on electron. Eats up a lot of battery on my laptop.

    • @AgreeableLandscapeOPM
      link
      133 years ago

      Why? Just why?

      Can’t even imagine doing any sort of encryption from JavaScript, and how inefficient that would be.

      • @ksynwa
        link
        63 years ago

        From the code I think the client itself is written in Go and the electron part is a frontend. But I couldn’t get the Go client to run without the electron frontend.

        This is the page for the client in case someone wants to help get this tunning without the electron frontend: https://client.pritunl.com/

        • @AgreeableLandscapeOPM
          link
          63 years ago

          Seriously, why?! Go has UI libraries (plus Qt/GTK bindings) and you don’t need something that complicated for a VPN client.

          Does the frontend need to be active all the time? Then you effectively have Chrome always running while doing literally nothing most of the time, can’t imagine you have to fiddle with the VPN that often.

          • @ksynwa
            link
            43 years ago

            I actually haven’t tried closing the client after starting up the VPN connection. I’ll try that and report back.

            • @AgreeableLandscapeOPM
              link
              43 years ago

              Make sure the VPN doesn’t silently disconnect by keeping an eye on what your public IP reports as.

          • Ephera
            link
            33 years ago

            I mean, I’m also having to run an Electron application for a shoddy chat and video call program. Most of the day, it will just sit there, doing nothing, and eat resources like no one’s business.
            My company bought into it and basically gave it a monopoly. So, if it uses too many resources, the laptop will need to be upgraded.

        • @redjoker@lemmygrad.ml
          link
          fedilink
          23 years ago

          Wait, it’s just OpenVPN, can you just try using your certs and username/password on the normal OpenVPN client?

          • @ksynwa
            link
            23 years ago

            I’ll try doing that.

    • @AgreeableLandscapeOPM
      link
      11
      edit-2
      3 years ago

      iT’S nOt eLeGaNt EnOuGh!

      Which, by the way, Qt and GTK both support custom stylesheets, so that’s on you if you think Electron is the only way to make that minimalist UI. They’re also both cross platform and compile to mostly native executables.

  • Rei
    link
    fedilink
    119 months ago

    Isn’t vscode written in electron?

    • Jack.
      link
      fedilink
      79 months ago

      Electron is fine if it’s optimised which generally doesn’t happen.

        • Jack.
          link
          fedilink
          39 months ago

          It does but in exchange devs can make cross-platform applications. I don’t mind using Electron apps unless they’re horribly optimized like Teams used to be some years ago.

          • @sznio@lemmy.world
            link
            fedilink
            49 months ago

            Teams is still horribly optimized and barely works though. I love having to restart my computer in order to be able to sign in.

            Protip: It’s much faster and more stable when just opened as a webpage in Firefox

            • @lrabbt@lemmy.world
              link
              fedilink
              29 months ago

              I wish. Teams literally says Firefox is not supported and doesn’t allow me to make calls, even though I’m able to join meetings. Teams is a joke.

              • @sznio@lemmy.world
                link
                fedilink
                19 months ago

                I also used to have that message but it seems like they’ve got that back in order.

                I remember that back then you could download an extension to pretend your user agent was Chrome and Teams would work flawlessly.

    • @zumi@lemmy.sdf.org
      link
      fedilink
      29 months ago

      It is, which is why I avoid it. The amount of power VSCode consumes vs others is significant. Jetbrains products even have a low power mode which turns off indexing. Can run that thing all day long without plugging in.

      I also use Ripcord for slack instead of that electron client.

      I always avoid electron apps so I don’t have to have a separate flow when I am on battery vs plugged in.

  • @fatboy
    link
    3
    edit-2
    3 years ago

    deleted by creator