this post was submitted on 12 Dec 2023
940 points (98.8% liked)

Programmer Humor

32718 readers
378 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

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

Mainly electron itself. For example the discord app (which uses electron) is less memory efficient (and much more restrictive etc.) than just a separate Firefox instance. It also had many problems with being up to date, but that's due to the discord devs deciding they want an own, custom electron, based on an outdated version. The main problem with electron for me stems from the chromium base, as basically any large app based on chromium (discord, spotify and steam) has massive flickering and performance problems on Wayland+Nvidia. A special combination, but still a factor for a 'cross platform' framework.

On the other hand, stuff like Signal never had any problems on my machine.

So, just use the stock electron, optimally the system one [electron binary], and see if you can enable wayland compatibility natively (otherwise we need to use environment variables etc., which works moderately at best).

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

So, just use the stock electron, optimally the system one

What? The system what?

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

I meant the system electron, as there are standalone electron packages

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

System electron?

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

Do you mean installing electron from your distro's package manager?

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

The “system electron” 🥹