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

Programmer Humor

32495 readers
702 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] 44 points 11 months ago (30 children)

You hate electron or you hate developers who make inefficient electron apps? Some examples? (Serious question, because I make electron apps)

[–] [email protected] 28 points 11 months ago* (last edited 11 months ago) (5 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 11 months ago (4 children)

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

What? The system what?

[–] [email protected] 3 points 11 months ago (2 children)

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

[–] [email protected] 3 points 11 months ago

System electron?

[–] [email protected] 2 points 11 months ago

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

load more comments (1 replies)
load more comments (1 replies)
load more comments (25 replies)