this post was submitted on 14 Dec 2023
137 points (100.0% liked)

Technology

37360 readers
255 users here now

Rumors, happenings, and innovations in the technology sphere. If it's technological news or discussion of technology, it probably belongs here.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] douglasg14b@beehaw.org 1 points 2 months ago* (last edited 2 months ago) (1 children)

What are you talking about....? Please re-read my comment above :/

An electron app is a natjve application that renders a browser based UI. You appear to be conflating the browser-based UI with the whole "native application" thing.

It comes with all the advantages a native application does, like having hardware access, working natively offline, working with the filesystem, interfacing with the OS and installed OS packages, being able to use other native binaries,, being able to use more native networking capabilities....etc

Sure lots of electron applications that people make could just be a web app, I'm not arguing that.

I am, however, pointing out that you are grossly incorrect that electron (and all other technologies like it, we're not really just talking about electron here) is 'just a web app". It's a native application server and a web-based UI, which means I can write an application in C# with all of the .Net advantages, with a web UI, that runs natively on your device for example.

This lets me ship a product much faster than if I was going to build that UI in QT or GTK, with a significantly upgraded user experience that is consistent across all platforms.

[–] Moonrise2473@feddit.it 1 points 2 months ago (1 children)

ok, but in this case, it's just a webview of mail.proton.me

it doesn't have hardware access, it doesn't work offline (technically, if it cached the files it can work offline, but can't work offline-offline like thunderbird), it doesn't work with the filesystem, it doesn't interface with the OS and installed OS packages, it doesn't use other native binaries, doesn't use more native networking capabilities, etc...

from what i saw, the electron apps that are to be considered real apps and not just a lazy webview around the webapp are:

  • bitwarden
  • crickets
[–] douglasg14b@beehaw.org 1 points 2 months ago (1 children)

Like I said, I'm not arguing that many apps are built as electron apps when they're just glorified web apps. Though I'm neutral on whether that's a bad thing or not. I'm definitely against apps being built with electron that don't really have UIs, defeating the entire point of electron and friends...

VSCode is another example you're missing. And they have put a LOT of work into making as many features available in the web-version as possible, the feature parity isn't an accident.

Or Obsidian.

Examples aside, you might be surprised by applications you may not think of as not using native features, that rely heavily on them, expecting to be executing in a Node environment and not a browser one. Especially on the networking and process side. Browsers are extremely restrictive.

[–] Moonrise2473@feddit.it 1 points 2 months ago

Right i forgot about atom and vs code, the quality of those is excellent

Obsidian too