this post was submitted on 11 Sep 2023
518 points (96.1% liked)

Programmer Humor

19817 readers
64 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 32 points 1 year ago (1 children)

This meme is really only true for things like Slack where the app is just the webpage in an app, and even then it's not quite true because Electron is a lot heavier than a webpage because it has to now run the webpage and the app - which I think is terrible.

But then also, Electron enables actual apps to be developed using web standards - which I think is great.

TLDR: Use Electron to make apps, not glorified webpages.

[–] [email protected] 12 points 1 year ago (1 children)
[–] [email protected] 5 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago (1 children)

Calling Slack a webpage is like calling an office building a room.

Slack is just as much a complex app as anything else even if it's built on web tech and standards.

[–] firelizzard 5 points 1 year ago (1 children)

The point is that Slack does not take advantage of Electron at all. It’s no better than running it in a browser.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (2 children)

For Slack it does. Building an app via Electron means it's cross-platform by default, so Slack doesn't need to invest in separate platform teams to solve the same problem (Windows, macOS, Linux).

Electron also has better support for things like native notifications, video and voice calls, offline capabilities, and to other native APIs etc that are either unsupported or spottily supported via the browser.

[–] pkill 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)
[–] pkill 2 points 1 year ago (1 children)

It's a much more lightweight option for building cross platfrom apps than Electron. Heck, even Tauri is better than Electron even though it also uses web technologies for UI.

[–] [email protected] 1 points 1 year ago

Flutter came to market much later. It wasn't even a thing when Slack started building using Electron. I'm sure the same applies to Tauri as well.