4 ms·
On Windows I see very similar results. Discord, doing nothing, idles at 165mb of memory usage and Signal (with even fewer features than Discord) manages to use
by nv-vn 8y ago
On Windows I see very similar results. Discord, doing nothing, idles at 165mb of memory usage and Signal (with even fewer features than Discord) manages to use 233mb while doing fuck all. Telegram, which has just as many features, idles at 78.5 (still a lot!!) and opens in literally 5ms instead of loading up for 30+ seconds.
>what people don't seem to get is the experience of using Electron is miles ahead of anything else in convenience.
That just blatantly isn't true. QML has the same "write markup run JS" idea and WPF is just XML bound to whatever .NET language you want. They might take a few minutes to learn if you already know web programming, but once you start writing code it doesn't take any longer than writing the equivalent HTML/JS/CSS. Like the OP said, React Native accomplishes the same but runs 1000x better. Getting people to step away from Electron for 5 seconds, especially when they have the resources to do so (i.e. Slack being able to raise $400 million this year, Discord raising $150 million, etc.) It's insane that none of these companies have spent the tiny amount of time working on some open-source framework that's better than Electron.
- Buttons840 8y ago> idles at 165mb of memory usage I was starting to build an Electron app recently. My "hello world" app was using about 200mb, and so I was thinking things looked pretty good, and it wouldn't be too heavy if I was careful. Then I noticed there were actually more system processes involved with the app that I realized, it was really using about 400mb. Then I starting resizing the "hello world" app's window. I maximized it, minimized it, and shook my mouse furiously making the window all kinds of shapes and sizes. After this the app related threads were using about 1gig of memory. Just for a "hello world" app. Now I'm always hesitant to accept claims that an Electron app isn't using much memory. Are you sure you're looking at all the related system threads?