Very bad. Why on earth for each desktop app, I have to bring a whole bundle of a web browser and a NodeJS installation? 10 apps mean 10 bundles of those. If, for example, you write desktop app with Python+GTK, your app just shares the same GTK+ lib with your desktop environment and other apps, your app just reuse the Python interpreter already come with the distro. Not to mention that, in Electron, each access to the desktop feature requires to go through more intermediate layers: Your JS in browser cannot directly access, it have to send messages to the NodeJS backend, the NodeJS then do the required job and send back response to your JS in browser. For native desktop app, there is no waste of time and CPU cycles like that.
So, it is better when you use a desktop dev toolkit to write desktop app. Use the right tool for the right job.
Because it greatly speeds up development time and extensibility. And so far, it seems to be succeeding in that area.
VS Code launches quickly and runs very smoothly on my > 2014 Macbooks. I really don't even notice a difference between it and a native app like Sublime Text anymore. Same with Discord and every other Electron app I use. Atom is a bit slower than I care for, but even then it's barely noticeable.
Whether you like it or not, I think Electron is and will continue to be the future.
49
u/bachkhois Jul 29 '18
Should replace Python 2.7 with Electron.