3 ms·
Why do you just assume apps using more resources now is because of coders with bad optimisation knowledge? > lets not use electron, let's build something with
by seanwilson 9y ago
Why do you just assume apps using more resources now is because of coders with bad optimisation knowledge?
> lets not use electron, let's build something with a similar external API that is more efficient
People also choose Electron because it's an efficient in terms of development time to release apps on multiple platforms, not because they don't know how to optimise.
- bananaboy 9y agoI think that's part of the problem: people are optimising for development time and effort rather than end user experience.
- dkersten 9y agoTools like Qt+QML are, in my experience, just as efficient in terms of development time, but much more computationally and memory efficient than a typical electron application. I'm not saying that you can't make electron run efficiently, just that it takes more work and therefore since most teams optimise for development rather than computation, the end result is that electron is (again in my personal experience) typically less computationally/memory efficient. It also helps that in QML javascript is typically used only as non-performance-critical glue code and the rest (and the framework itself) is in C++ and the GUI rendering is in OpenGL.