• nitefox@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    9
    ·
    edit-2
    9 months ago

    Have you ever had, in good conscience, a problem caused by an electron app using too much resources?

    Because we are, again, in 2023: the standard is 16GB of RAM, with CPUs much more powerful and with a lot of more cores and thread per cores than the past. Complaining about a PC resources being used when these doesn’t actually create a problem is like complaining about GUI being bloat; or JS/CSS being bloat.

    This of course doesn’t mean electron is perfect, cause it clearly isn’t, but it’s a good enough solution that can be iterated upon (see Tauri) and improved (the DX on electron is shit). Nor that every app should be in electron.

      • rambaroo@lemmy.world
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        9 months ago

        I run slack every day. It’s a bit slow sometimes but it doesn’t cause any real issues. Still better than teams. I’d rather have it as an electron app than as a web app.

        VS Code is electron but it’s not meant to be a lightweight text editor like notepad. Must people are using it as an IDE at this point. Can you explain what’s “bloated” about it?

        These apps probably wouldn’t exist at all if it wasn’t for electron so I’m grateful for it. The purists can pound sand like always.

      • nitefox@lemmy.world
        link
        fedilink
        arrow-up
        4
        arrow-down
        2
        ·
        9 months ago

        I use both daily, never noticed a problem. MacBook Pro M1 with 8GB ram. Eight!

      • Starman@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        9 months ago

        on the vscode comment, that’s just plain wrong. here’s vscode opening up on a base model m1 air (it’s a test project but my works codebase also opens just as fast)

        https://imgur.com/a/q6iw2Bk

        on a 8gb ram m1 air, with 3/4 chrome windows, slack, postman and two node processes running. as for slack, i agree its not as snappy as say, native macos apps but it doesn’t really bother me a lot.

    • MyFairJulia@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      3
      ·
      9 months ago

      It didn’t cause problems since i have a lot of RAM but i still hold the opinion that just because we have a lot of RAM, we don’t need to waste it. We could keep being efficient about it and get even more out of the same amount of RAM, you know. That said, if Tauri lowers the RAM usage of the same applications i’m looking forward to it.

      • nitefox@lemmy.world
        link
        fedilink
        arrow-up
        2
        arrow-down
        3
        ·
        9 months ago

        Your kernel allocates all the ram anyway lol, it literally changes nothing to you

          • nitefox@lemmy.world
            link
            fedilink
            arrow-up
            3
            arrow-down
            2
            ·
            edit-2
            9 months ago

            that would change nothing to you. Unless they are seriously consuming a lot of memory and filling up processes while not needed, then it’s fine. Otherwise it means the app was developed by a bunch of monkey, but that could happen - maybe even more likely - with native software as well.

            Tldr: to the end user it changes literally nothing nowadays, to the companies and the devs it changes quite a lot. And to some degree, end-users won’t have to deal with shitty ugly apps (unless the designers are jerks, in which case you are probably working in the same company as me)

    • Neko the gamer@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      not everyone can afford 16 GB of RAM though, if you want to make your software accessible write it to work on as many systems as possible with few or no slowdowns or hiccups. Electron is a shitty bandaid because you’re a lazy ass that doesn’t want to write more efficient software for desktop and instead you keep making web applications running natively, which is and will always be wrong