Yet we do, proving that the majority of developers are spoiled, entitled people whose teams compete in who can waste more of your battery. A vicious cycle starting and ending on the dogmatic one liners surrounding performance every incompetent moron likes to shout in these discussions to justify their perfectly looking but horribly slow crapware.
The “legacy” part is bullshit. There’s quite a few of them, but whenever there’s an adequate non-Electron alternative, I use that instead. I use the Electron applications:
Hamsket (Rambox fork)
VS Code
Discord
And the Qt applications
KDE Plasma and all the KDE applications I use (not even using multiple entries here)
Krita
Calibre
VLC
RStudio
Wireshark
Zoom
And of course all kinds of small stuff that would be complete overkill and waste of memory to do in Electron
It's harder to spot Qt since it tends to just work rather seamlessly and has system theming. Electron apps are quite recognisable as being Electron apps, so they might be more salient, but they are not as ubiquitous as Qt.
Not that it really matters or changes the sentiment of your post, but Deluge is written in GTK. It's just that I looked at their source a lot in the past.
Oh, seems you're right. I looked up several of the ones I didn't know. For some reason I thought Deluge was using PyQt and I didn't need to look it up.
Languages like C and C++ use a technology known as a linker whose purpose is to only include functionality that is used by an application into the executable. The JavaScript portion of Qt is distributed in a library of its own referred to as QtScript which is excluded from applications that don't make use of it.
This is in contrast to Electron which must include the entirety of the Chromium build in every single application distribution.
I think you missed the point - all QML apps use JavaScript. They're planning on relaxing that requirement but as it stands, if you develop a Qt app in the recommended way, you are shipping a JavaScript engine.
In fact the hello world QML app is actually not that much smaller than Electron.
0
u/[deleted] Dec 08 '20
[deleted]