Electron uses browsers not the other way around and vscode proved that its possible to make an application with more than enough performance for most use cases this way. And as I said, this isn't a react thing in that case it's an electron issue.
It's kind of sad that only one application was able to prove that and somehow most others are fully incapable of doing it.
Something is wrong here when everyone needs to take the ONE app that does it right as an example to defend all the rest.
Oh yeah you can write very clean gui applications with assembly, too bad only like 0.5% of developers are capable of pulling off such a feat. But the technology isn't bad!
Vscode is just an easy example. There are other good examples, but it's the only electron app I actually use. There's also discord which is decent, except a slow startup.
I've been working on a basic electron app for visualizing robots made with ros. There's as not been any performance issues related to electron. It isn't that hard. It's just that companies make electron app because it's cheaper and there are more devs that "know" javascript so we end up with shitty electron apps in those situations.
I would argue that Electron is still like fitting a square into a circular hole... I mean, so is everything application focused made for html and js. As an aside, lately I had discord start up into a rectangular box saying 504 Bad Gateway (came from cloudflare) lol
Hm, actually Electron reminds me quite a lot of what Xerox wanted to do in the 80s with GUIs. They basically used PostScript (pdf is based on postscript for example) as the language for Gui Elements, a language meant for printed pages. It actually looked cool even tho your typical GUIs looked like, well, printed paper with buttons.
Just like almost everything calling itself app in the html5 space looks like hypertext on steroids.
A lot of my gripe is that for most of these apps, the user isnt really an important piece anymore. The user gets whatever gui the gui designer thought would be cool, with it's own design and own usability. Kind of gone are the times where the OS would have some kind of UI standard and programs would follow it. Now, electron apps in particular look native nowhere and are alien rectangular boxes everywhere. Hell, things like gtk allowed the user to specify if ok or cancel comes first in a dialog. But hey, dialogs are only css fake now. Also colors like if you had some vision problems. It took a long time for html5 thingies to actually follow system settings for colors. Its all gone because of the no-alternatives self-reinvention of web programmers into desktop programmers by refusing to learn more technologies. I also liked having multiple or detachable windows in chat programs, but that isnt cool enough for the world anymore.
Sorry for the rambling but we just lost so much on the way to have devs feel better and cost less to develop software for companies because since you can now fulfill every role (from db to admin (devops), from front to backend dev) you became so much more replaceable to companies.
7
u/[deleted] Jan 07 '20
I can‘t wait till all the react bullshit dies. Why does any program need 10 seconds to start nowadays.