Maybe you just do not consider wasting energy as an issue?
At the moment, I have Mark Text running on my Mac, and it's using 0.0% of a CPU (I have over a dozen processes using more power, totaling about 5% of a CPU).
It's a reasonable choice not to use this (free) product because of disk usage (285MB, which is a lot, although I have 275GB free), memory usage (165MB, although it's compressed to about 65MB) or CPU usage (see above). But others may decide that this app provides great value for the resources used, and that's also a reasonable choice. There's no reason to shut down the discussion.
Electron seems like a great way to get a cross-platform app out there without having to hire three separate departments of code developers.
Nope.
I love native apps, but it’s hardly a difficult choice to make for a business. Only nerds like us notice apps that use gigabytes of ram.
Spotify is on every platform and probably they wrote that interface once. That’s a gigantic win for everyone involved.
8GB of ram is very typical being the base spec in most laptops today.
The only one I cannot do it is VSCode.
Let's see, Discord uses 450mb of memory after being open for 3 hours, and Spotify has gone through 1.6gb after 8. If these people with infinite resources at their disposal can't do good resource management, I'm not sure who out there is "debunking" the fact that running a web browser as a wrapper for your application is (surprise surprise!) resource heavy.
Too be honest I wouldn’t be surprised if gif rendering is one of the most memory intensive parts of the app. They have them everywhere and people paying for their premium subscriptions get a 50Mb upload cap and they will store the full uncompressed version of that resource and display it in the chat (although I think you have to click to load resources over 8Mb).
It will do it even without lots of users or voice or video.
And you're not really going to have more than five images on screen at once.
> they will store the full uncompressed version of that resource and display it in the chat
So don't do that.
The UI is not where the resources are used, but rather the active connections continuously streaming and caching content for you to consume.
Electron has it’s place, but I think you can go to small. VSCode can use 2GB of memory, because it’s an IDE with a ton of feature. The overhead of Electron doesn’t matter in the context of an IDE. For a markdown editor, Electron alone will push the system resources way above what’s reasonable.
Then there’s the problem that Electron application fails to provide a native look and feel on all platforms.
I don’t know that the look and feel can be fixed. Solutions like QT and WXWidgets never really got it right, so assuming the Electron can seems unrealistic. What can be fix is resource requirements and performance. We should push for a more lightweight Electron, if we want to use it for smaller application.