this post was submitted on 02 Aug 2023
264 points (100.0% liked)

196

16478 readers
3597 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
264
Chrulemium (lemmy.blahaj.zone)
submitted 1 year ago* (last edited 1 year ago) by pine@lemmy.blahaj.zone to c/196@lemmy.blahaj.zone
 

Inspired by: https://twitter.com/Rimmy_Downunder/status/1686188323164028928

Transcription:

A stick figure pondering: "Hm. If only there was a platform for my desktop application"

The stick figure stepping over many native GUIs to pick up Google Chromium.

The stick figure: "Ah! Here we go!"

you are viewing a single comment's thread
view the rest of the comments
[–] Caketaco@lemmy.world 44 points 1 year ago* (last edited 1 year ago) (2 children)

Discord moment

“Hmm, we need to make a communications app. Communicating is important, it’ll keep millions of people in contact with eachother. We’ll have to make it as lightweight as possible.”

“OH! I KNOW! ELECTRON!!”

[–] awesome_person@lemm.ee 35 points 1 year ago

don't blame electron for how bad discord performs, just open it up in your browser and watch as the discord tab uses 1gb of ram after 5 minutes of usage. discord simply doesn't care about performance or resource usage

[–] PaigePalisade@lemmy.blahaj.zone 18 points 1 year ago (1 children)

One of Discord's targets is web, and I don't think there is another good UI toolkit that could maintain that target with easy feature parity. Some UI toolkits like Godot (which is a game engine) are capable of targeting web using a canvas element, but that's probably not going to be as performant or as native feeling as a standard website. They could also use a separate code base, but then there would be large feature parity issues. They could also drop the web target, but that might make it harder for users who don't have permission to install software or use Chrome OS.

I feel like Discord is one of the examples where Electron makes sense. If only they allowed third party apps so desktop users who don't care about having every feature can have a better experience.

[–] Caketaco@lemmy.world 5 points 1 year ago (1 children)

True and fair. Definitely agree with your third-party app thing (man, where have I seen the benefits of having third party apps before?)

I do remember trying out a (TOS breaking) third party app I found on GitHub, but it lacked a lot of features like voice calls and whatnot and crashed frequently. That’s to be expected, though.

[–] yhvr@lemm.ee 4 points 1 year ago