14

I fucking hate Electron, what ever happened to developing software natively? It's not like you have to stick to dot Net and C# or whatever, there's literally Lazarus or Delphi, which, at least Lazarus, not only is open source but also supports all major platforms.

Even Python has GTK, Qt and Pywin32 or whatever its called. While not exactly cross platform, it's still not eating up 1GB of RAM when you launch it.

I don't care if Bob from across the street uses it because he's too lazy to learn anything new, but when huge companies like fucking Discord (valued at 10B dollars) use it, it's insane.
More than once has Discord had a memory leak and was reaching upwards of 6.5GB of RAM usage.

Whats the most popular code editor? VSCode, Electron.
Chat client? Discord, Electron.
Wanna use something other than Discord? Maybe Matrix? Well guess what, while they do have multiple clients, the most developed and usable one is Element, yeah, Electron.
Slack? Electron
My crypto wallet? Exodus, Electron.

I genuinely don't think 16GB of RAM is enough nowadays. Thankfully I'm running a very minimal install of Arch Linux and do most of my work in a KVM, but it still hurts my brain.

By the way things are looking nowadays, We'll be using Javascript for Kernels soon.
Thanks for coming to my Ted Talk.

Also apparently the filter on this site sees ". net" as an url.

Comments
  • 1
    Qt company is turning into dicks. It needs a fork bad.
  • 2
    I wholeheartedly agree.

    But why does this happen? Because “regression to the mean” aka “everything turns to shit because it’s easier”
  • 0
    Try compiling balena-etcher from source with vscode already Installed and watch electron screw the living hell out of your compilation
  • 1
    Check out Tauri. It claims to be more resource efficient than electron. I haven’t personally verified that, but I can confirm it the starter template doesn’t crash on first run like electron 🤷🏻‍♂️
  • 1
    Lol out of every possible option you mention Delphi? Delphi? There's literary 1000 times as many positions for C# devs than for Delphi devs. You know what hell it is to find anyone even remote proficient in Delphi? It's easier to find someone capable of maintaining a huge, 40 years old Fortran mess than to find someone to write a simple app in Delphi, let alone 10+ devs you need to support a large-scale application.
  • 1
    Electron is indeed a resource whore.
    Acronym: (Write (hopefully) once, run everywhere)
  • 0
    I'm aiming for 64 GB of RAM in my next laptop.
  • 0
    Slack is the worst
  • 2
    That memory usage isn't just about Electron though, and for example VSCode is ridiculously efficient even in the context of all desktop apps. The reason these take up so much RAM is that the devs don't give a fuck. They have fancy 64G desktops with last-gen processors and even their porn collection is on SSDs. How would they ever notice that what they're writing is shit and it takes half a minute to launch a chat client because its enormous bundle of useless shit that I obviously don't need on startup such as screen sharing support is loaded into memory all at once.
  • 0
    That's why I never install "apps" that can run in a separate tab, never
Add Comment