r/ProgrammerHumor • • 24d ago • Bravo 1

Meme thisIsHilarious

/img/mq2k3xtppg0i1.jpeg
4.3k Upvotes

47 comments sorted by

View all comments

Show parent comment

70

u/YeOldeMemeShoppe 24d ago

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.

25

u/Loading_M_ 24d ago

The point about IDEs gobbling RAM is very true.

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.

3

u/Advanced_Musician_24 24d ago

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.

3

u/YeOldeMemeShoppe 24d ago

Unfortunately Tauri is a nightmare on Linux.

1

u/Advanced_Musician_24 23d ago

Absolutely, Tauri only for Windows and maybe MacOS, never on Linux!