The thing is, cross-platform tooling sucks. A plain CLI program is already bad enough to get running across platforms - even among Unix/POSIX compliant-ish platforms, which is why autoconf, cmake and a host of other tools exist... but GUI programs? That's orders of magnitude worse to get right. And games manage to blow past that as every platform has their completely own graphics stack.
Electron and friends abstract all that suckiness away from developers and allow management to hire cheap fresh JS coding bootcamp graduates instead of highly capable and paid Qt/Gtk/SDL/whatever consultants.
Who?
I see people constantly talking about those "consultants", yet what they are?
Just dev that has single-person company?
They are not the people that create the software you install on your machine. That task is usually done by a lone developer at some random place.
Producing the best possible software doesn't produce the highest possible revenue. You'd want to produce something that works well enough that it's viable for the customer to keep hiring your consultants, but also makes it necessary to continuously keep hiring them.
So that translates to producing the worst possible software that barely works. So no, they're not $100B companies for nothing. They know exactly how to walk that line.
I have seen genuinely passable. And lots of "good enough until we fix the underlining issue".
What I have never seen is offshored developers doing really good work. And I'm convinced their incentive structure will always punish anybody that tries.
If they can't afford to write a simple cross-platform QT5 based software for actual computing (AKA desktops except for niche usage on art with iPad for drawings and some audio production), they are doomed. Period.
But we're a relatively small consultancy (think hundreds instead of tens of thousands like the bigger players), so it's a bit more refined. We do have decent developers, but the issue with consultancy on that level is they're too smart for their own good, they will suggest an over-engineered solution that can't be maintained by anyone BUT these consultants and / or hired self-employed people. It's a weird fallacy, a weird rotating door of consultants and cycles of development where every 10 or so years they do a full rearchitecture / rebuild of their back-ends, while meanwhile some people just sit and maintain the existing - and working - core systems.
It's massively wasteful. But it usually pays better than a regular in-house developer, and it's lower risk than going self-employed because you still work for an employer who pays you per month. I'm just salty that said employer creams off 2/3rds of my hourly rate.
No, they doesn't always suck. As an example, QT is cross platform, fast and complete.
But Electron is god awfully slow, and Eclipse can be too. The difference is QT apps are compiled and are generally written in C/C++, where are Electron and Eclipse are interpreted / JIT'ed, and use GC under the hood. As a consequence, they run at 1/2 the speed, use many times more RAM and to make matters worse Electron is single threaded.
The problem isn't cross platform. It's the conveniences most programmers lean on to make themselves productive - like GC, or async so they can avoid the dangers of true concurrency, or an interpreter to so they don't have to recompile for every platform out there. They do work - we are more productive in turning out code, but the come at a cost.
Maybe Tauri will make things better in the long run, but so far I haven't heard of any adoption at all.
Except our organization builds python and java apps so all our shit is multiplatform by default or even by accident. Hell, I put together consistent, cross platform Swing UIs before I even understood what maven was.
I ran VS Code on a 12 year old Atom netbook recently. It runs. It's even usable. But it pegs the CPU at 30% when idle.
Despite or because of emacs being older, it's more responsive than vscode in my usage.
https://github.com/microsoft/vscode/issues?q=is%3Aissue+labe...
Vscode is fast compared to most modern editors, but it's still twice as slow as Sublime in terms of input latency, UI responsiveness, text coloring etc.
An hour with Sublime/Vim followed by going back to Vscode is a painful experience...
Various language-specific IDEs like Spyder ?
Jetbrains' products.
The first Linux that I've used, Mandriva (KDE), runs smoothly on my Intel Pentium 4 PC with 256MB of RAM. I can even do some web browsing (Flash gaming) and music playing without feeling slow. That's an entire OS, running on 256MB of RAM.
On MDV, KDE and PIV, same here with an Athlon 2000 and 256 MB of RAM with Knoppix and later FreesBIE with XFCE, which ran much faster and snappier than even today's i7's with Plasma 5.
This is not an illusion. Cross-platform programs suck, so everyone avoids them, right? Electron apps and whatnot are universally mocked. You would only use one for an online services like Spotify or something. The normal use case is downloading some nice native code from your repo.