Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Root825573yI wholeheartedly agree.
But why does this happen? Because “regression to the mean” aka “everything turns to shit because it’s easier” -
Try compiling balena-etcher from source with vscode already Installed and watch electron screw the living hell out of your compilation
-
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 🤷🏻♂️
-
hitko31483yLol 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.
-
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.
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.
devrant
javascript
electron