![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
My #1 annoyance these days, because it is so egregious, is Electron apps.
I guess because the only language some programmers know is Javascript, of which I know little but what little I know places it marginally above PHP in intrinsic horror.
So people write standalone apps in a language intended for tweaking web pages, meaning that to deploy those apps requires embedding an entire web browser into every app.
And entire popular businesses, for example Slack, do not as far as I can tell have an actual native client. The only way to access the service is via a glorified web page, running inside an embedded browser. Despite which, it can't actually authenticate on its own and needs ANOTHER web browser to be available to do that.
Electron apps make Java ones look lean and mean and efficient.
Apparently, expecting a language that can compile to native machine code that executes directly on a CPU, and which makes API calls to the host OS in order to display a UI, is quaint and retro now.
And it's perfectly acceptable to have a multi-billion-dollar business that requires a local client, but which does not in fact offer native clients of any form for any OS on the market.
It's enough to make me want to go back to DOS, it really is. Never mind "nobody will ever need more than 640kB"... if you can't do it in 640kB and still have enough room for the user's data, maybe you should reconsider what you are doing and how you are doing it.
no subject
Date: 2022-08-10 10:21 am (UTC)no subject
Date: 2022-08-11 12:14 pm (UTC)They were and are.
IIRC this is all due to embracing Android and wanting a common code base between Windows, Mac, iOS and Android apps. :-(
I would have thought they'd have been better employed fixing .NET across all of the platforms, and writing in that, but noooooooooo...
Apparently, according to a HN comment to my post that this is copy-pasted from, there is a little more to Electron than it being a Javascript app. It is entirely possible to have native Javascript apps that target native APIs. GNOME Shell is one.
The real problem isn't JS, it's frameworks such as Node. It's not that Electron apps are written in JS, it's that they are written in JS that targets Node or other web-centric frameworks, and that's why they have to embed an entire browser.
I need to learn more about this. :-(
no subject
Date: 2022-08-11 12:43 pm (UTC)