I think what is meant is that while some electron apps are popular in the developer demographic (i.e. VS Code) the average desktop user does not run many of then, and is more likely to use desktop apps written in non-web technologies (VLC, Transmission, Office, and whatever it is people use these days)
Slack, Spotify, Signal and Whatsapp desktop, Skype, Discord, MS Teams are all built on web tech. I think even Office 365 nowadays has a lot of the UI stuff written in react native. A lot of older linux software is non-web based but that's not the average desktop user.
> I think even Office 365 nowadays has a lot of the UI stuff written in react native.
Time for me to move away from Ubuntu, then. This and apt randomly installing snaps isn’t what I want. I’ll give Arch a shot, it’s been the new hotness for a long time...
Debian is closer than Arch FWIW, though of course Arch is good too.
I wish they would expand on what's wrong with Qt or GTK. Flutter support on both Windows and Linux is pretty bad. In my opinion, electron is a better choice for cross platform desktop UI--VScode is a shining example of what that can accomplish. And they're in for a lot of work if they want to customize Flutter so it doesn't look material or cupertino. Also, their big contribution to Flutter is getting it on the snap…
I didn't see it back when I was doing Qt, but writing a Qt app for every platform is hard. In theory you can have Qt apps on Android, iOs, Linux, etfc but in all fairness, it is just too much of a hassle. Big headache with toolchains, dependencies, it is just not worth it nowadays. "Write once, run everywhere" was a nice motto for Qt and I even bought it for a while but yet again does not work in practice. Flutter, o…
Are you doing cross-platform development in Flutter, or by “works” do you mean on the platform you tried?
Electron apps use more CPU and drain the battery faster on my Linux laptop. Users may not care what framework renders their apps, but if they were running more than one or two electron instances they may start to notice their battery life is awful. It’s worse on Linux already, there’s no reason to make it even worse.
Faster than? Do you compare applications that do similar things?
Take a look at desktop Telegram when you have some time. It bundles its own fork of Qt (which inflates its shared memory usage as nobody else is using the library), has a very polished UI and all the same features as any other modern messenger, and runs circles around any Electron application I've ever seen. On my machine from 2014 it starts instantly and the memory usage never goes above 200-250 MBs, which is not ideal, but still is ~4 times less than the _startup_ memory usage of an Electron application.
> VScode is a shining example of what that can accomplish I see this mentioned quite often here, but that's not a valid argument in favour of Electron Apps. VSCode is the primary focus for a user when it's active - so it's fine if it takes up a significant proportion of a machine's resources. Now if a bunch of background taskbar apps, calculators and notepads start doing the same, user experience is going to go downh…
The impact could reduced if a single Electron runtime is shared across apps. Imagine the various HTML5 mobile phone environments, like Palm's webOS, but in a desktop setting.
Since electron is basically a headless browser, you would be opening up any app with an XSS vulnerability to any other app running in the runtime.
I am bringing some negative energy but I've been burned. I don't understand the hype about flutter - putting aside that dart is a tool that made more sense in a different timeline, or that some of the examples seem really slow/buggy, or that it's rendering behavior is a nightmare to guarantee consistency - putting all that aside, I've yet to see anyone build anything non-trivial with flutter. And then there's Ubuntu.…
> Canonical is just all over the place. We should encourage experimentation and risk taking. No company can always get things right. Phones are a duopoly, but I'm glad they tried. Unity was fairly decent, but in the end adopting Gnome benefitted everyone. Ads were the only bad idea I can think of; but hey I've been using their wonderful software for 15 years now at a total cost of zero.
In theory I agree, but Canonical really seem to do it over and over. Whether it's NIH or something else, it seems every time technology starts shifting, Ubuntu goes its own way only to drop it a year or two later. Unity/compiz, Mir , Ubuntu One, Upstart, Bazaar. And currently baking are Snaps and LXD. This isn't to say any of these are bad products, but it has real effects to the end user, who invest time in something that just seems to get vaporized.
The impact could reduced if a single Electron runtime is shared across apps. Imagine the various HTML5 mobile phone environments, like Palm's webOS, but in a desktop setting.
Since electron is basically a headless browser, you would be opening up any app with an XSS vulnerability to any other app running in the runtime.
Headless? It even has the same debug console as the ordinary Chromium.
Basically the only thing it misses is the URL bar and navigation buttons. It's just a browser with some OS integration slapped on the side.
I wish they would expand on what's wrong with Qt or GTK. Flutter support on both Windows and Linux is pretty bad. In my opinion, electron is a better choice for cross platform desktop UI--VScode is a shining example of what that can accomplish. And they're in for a lot of work if they want to customize Flutter so it doesn't look material or cupertino. Also, their big contribution to Flutter is getting it on the snap…
Qt is going commercial only. GTK+ feels kinda old when working on it and GTK team likes to break compatibility. Flutter is also quite bad often, dependency hell on big projects is so much hotter than anything I've ever seen on npm. Flutter is smooth, maturing fast, developing in Dart is simply pleasant.