you are viewing a single comment's thread
view the rest of the comments
[–] 232 points 3 years ago (63 children)

People that are upset about electron should consider it’s not:

Electron App vs Wonderful Fully Supported Native Linux Application

The reality is that your choice is largely:

Electron App vs No App (maybe running their windows app in wine if you can get that to work)

It’s not like companies are going to go build a native linux app but electron got in their way. It was always electron or no support.

So if you like the app, remember that the ram and the cpu you paid for doesn’t provide value unless it’s doing something. There’s no trophy you get at the end of your life for “most cumulative ram left idle”

  • source
  • hideshow 63 child comments
  • [–] 35 points 3 years ago (5 children)

    So if you like the app, remember that the ram and the cpu you paid for doesn’t provide value unless it’s doing something. There’s no trophy you get at the end of your life for “most cumulative ram left idle”

    This is a damn homicide lmao

  • source
  • parent
  • hideshow 5 child comments
  • load more comments (3 replies)
  • [–] 33 points 3 years ago (4 children)

    There’s no trophy you get at the end of your life for “most cumulative ram left idle”

    Some people like to use more than 1 app you know.

    Also, RAM is never ever idle. It is used as filesystem cache when not used by programs thus speeding up read accesses significantly.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 3 years ago (2 children)

    Just to nitpick, RAM is usually not idle.

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (1 reply)
  • [–] 27 points 3 years ago (5 children)

    A lot of the time, the alternative would be a website running in the browser.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 6 points 3 years ago (1 child)

    Electron IS a browser. It's a Chromium browser to be exact with all the Chromium UI elements except the very bare minimum removed.

    So the only difference that remains is running a website in a tab or in a fancy window.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 4 points 3 years ago*

    I know that Electron is a browser. But the issue is that it's a different browser, and AFAIK Electron applications don't share libraries etc. like Chrome/Firefox tabs would, which makes Electron apps even more inefficient than web apps.

  • source
  • parent
  • [–] 23 points 3 years ago

    Well, there's also Tauri which requires slightly more testing since you actually use the device's built-in browser, so there might be differences. The upside is a much smaller bundle size, quick start-up times and often less RAM usage than with Electron.

  • source
  • parent
  • [–] 16 points 3 years ago

    What about laptop battery life? More CPU usage = less battery life. WHY DOES NO ONE GIVE A FUCK ABOUT BATTERY LIFE???

    The single most reason I switched from Spotify to Apple Music is that I was sick of seeing the Spotify macOS app at the top of the "High Battery Usage" page on Activity Monitor. I also actually noticed less battery life. Fuck Electron. I avoid apps made in it like the plague.

  • source
  • parent
  • [–] 14 points 3 years ago (13 children)

    lmao, yea. Besides, it’s not like electron is that bad either. We aren’t in 1990, why would you care if electron uses a gb of ram or ten processes or this or that… they think that native means good, but more often than not native means a shitty ugly unusable application that will work (not really) just on windows

  • source
  • parent
  • hideshow 13 child comments
  • [–] 9 points 3 years ago (12 children)

    If a fancy text editor starts eating hundreds of megabytes RAM without having loaded a file, i think we did something wrong.

    Though Visual Studio can do that too without Electron.

  • source
  • parent
  • hideshow 12 child comments
  • load more comments (11 replies)
  • load more comments (20 replies)