it’s not terrible. making simple apps with it is fine. the poster child problem is vscode. built on electron and it EATS RAM. but, vscode is not a “simple” app either.
It’s shared libraries though so every electron apps that use the same version will use the same memory.
Also, it’s not like IntelliJ or Visual Studio (not code) aren’t gobbling all the ram either. IDEs just love to trade RAM for saving disk accesses, because responsiveness is more important than wasted memory.
However, Electron apps don't always (or even often) share libraries between different apps. It depends on how they're packaged, but they are often packaged in a way that makes sharing libraries much harder.
Many apps use their own libcef.dll instead, for performance I think, compared to electron. Steam, Epic... But if you use WebView2 on Windows, through Tauri or directly, I think ram usage can be lower, but I am not so sure.
Way back when VS Code first came out and no one was using it yet, I did a round up test off all the various code editors available at the time. My company only provisioned Windows machines and would only allow them to connect to the network so I was running Linux in a VM for my dev work unless it was something I had to do on Windows.
I'm checking my resource usage as part of the test and I look at RAM. VS Code on Windows was using 512 MB. Obviously that's not what it actually needed but what it requested. Outlook (also required by company policy) was using around 500 MB.
Meanwhile my entire Linux VM, which has all my dev tools open including another copy of VS Code, was using a little over 300 MB.
So yeah, it's definitely worse now but Electron apps and VS Code specifically have always been RAM hogs compared to most other apps. But it also apparently depends on what OS you're running. Although that may not be true anymore. Admittedly I haven't bothered checking in years.
View all comments
Show parent comment
188
u/rainhunter007 26d ago
it’s not terrible. making simple apps with it is fine. the poster child problem is vscode. built on electron and it EATS RAM. but, vscode is not a “simple” app either.