I've read this a couple of times on HN. Can someone fill me in here? Is the claim that electron apps are slow justified? If so why, technically, are they slow?
The main one I use is Slack and it is perfectly fine on my machine.
I've read this a couple of times on HN. Can someone fill me in here? Is the claim that electron apps are slow justified? If so why, technically, are they slow?
The main one I use is Slack and it is perfectly fine on my machine.
What does make an electron app slow is the app itself. Obviously. You have VSCode that is blazing fast even for humongous files and you also have some other not so fast apps.
Another huge issue raised is size. To be honest, 100 MB isn't abnormal for a desktop app. Look at any Qt app, it can be around 100 MB too. Same for dotnet.
Of course native is better but most developers don't have the resources for that.
Edit: I see people down voting without giving any reason. I know this is an unpopular opinion but come on. The days when you could use VSCode as an example of slow, clunky Electron app are gone. What's slow and huge is Jetbrains IntelliJ or Visual Studio; both native. VSCode proved that you can make a fast electron app; it just needs work like any other thing.
What makes you think they didn't have a reason? I didn't downvote you but you've made a few divisive assertions. For example, your "blazing fast" is my "performs acceptably".
Also, I'd be interested to know what you count as blazing fast.
That being said, with extensions enabled it can be a totally different story - some extensions will try to load the text content on every editor opening or even edit, which gets unusable very quickly. (Yes they run in a separate process, but that’s not a cure-all)
Tested on 2018 MBP.
(On VS code team, had nothing to do with the editor perf)
However most apps don't, and even MS' other apps are total crap, like MS Teams. If it was so easy to take the lessons learned from VS Code and apply it to their other apps they would do so I'm sure.
Skype for Business for Mac also comes to mind. Sometimes it takes up 800MB of memory. For an IM app..... :X
In fact, this morning a colleague of mine was showing me on Zoom that their Slack desktop app never finishes loading instead just displaying a white screen, so they need to use the website instead. Although I guess that's more of a comment on software quality than bloat.
I don't mean to say that all Electron apps are slow and clunky. VS Code for example is very impressive for an Electron app.
takes ages to open, takes ages to resize, etc etc. my hands shake whenever I have to interact with that mess (thankfully ripcord exists)
my computer is an intel 6900k (16-core) with 64 gb of ram and a gtx 1080 so processing power is not an issue.
I just did a comparison with slack running in chrome and, maybe I'm saying something silly here, but the difference seems to be that I'm simply unable to resize the chrome window at the same speed when the tab inside is displaying slack. So I was unable to "leave the content behind" as you did in your video of the electron app (and as I was also able to do with the electron app).
I don't want to waste hundreds of MBs of memory just on one small app :)
There's good Electron apps, yes. Like VS code, which is fast and optimised and uses very little resources. But most Electron apps are wasteful. Even the other ones from MS like Teams are horrible.