5 ms·
Electron apps are easy to develop, but the performance as it is a browser is pretty bad compared to native. The performance af all electrons apps I have used (S
by phlhar 6y ago
Electron apps are easy to develop, but the performance as it is a browser is pretty bad compared to native. The performance af all electrons apps I have used (Slack, Discord, Spotify, Twitch, ...) is always worse than native apps, and not just a little bit. You will notice it! I understand it is easy to develop a electron app when you come from a web background, but it still seems wrong to me.
- plehoux 6y agoCo-founder at Missive, an email client built entirely in HTML/JS; Electron on desktop; Cordova on mobile. You can try the app, it's way faster than Mail from Apple. Apple even featured the app multiple times on the mobile App store; again all HTML/JS. Making fast software in HTML/JS is definitely possible. An email client is mostly HTML/Style rendering so our use case might be more aligned. You can learn more about how we made it fast by listening to : https://syntax.fm/show/184/desktop-and-mobile-apps-with-a-single-codebase https://syntax.fm/show/184/desktop-and-mobile-apps-with-a-si...
- elwes5 6y agoBuilding fast applications on most platforms is usually possible. But you must play to those platforms strengths. I used to mess with my fellow devs by making toy vb6 apps that worked very quickly (not my favorite environment to work in). It usually meant throwing out tons of junk. Could never pull that trick off with pcode vb applications. That pcode interpreter was just too slow. I would also do this with win/C++ programs you can make surprisingly light applications if you know what your platform does. The mistake many people fall into is just tossing whatever in there and hoping for the best. That works at first when you are spinning up but usually you end up having to do something about it.
- emsy 6y agoI haven't tried Missive, but how are memory and battery usage? I've seen fast electron apps, so I know they exist. Programmers basically treat memory as if there's enough of it to not care about, but Laptops are still sold with 8GB of RAM and the upgrade markups on current devices are insane.
- Junk_Collector 6y agoIs it not insane to anyone else that we talk about only having 8 GB of ram with regards to the performance of mail and chat applications?
- nitrogen 6y agoSeriously... 8GB is an ocean. People were reading and editing HTML email in the days of 16MB.
- efreak 6y agoHTML has changed since then, though. HTML email might basically be stuck with whatever old version of HTML, but nobody writes an HTML renderer just for email--they embed a fully functioning browser engine in the mail client (or write the client itself to run in the browser).