this post was submitted on 21 Mar 2025
1504 points (100.0% liked)

Programmer Humor

21822 readers
2714 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
[โ€“] _____@lemm.ee 16 points 2 days ago (1 children)

There's lots of valid reasons for this.

Imo the biggest one people don't account for is this: Dev salaries are incredibly high. if you want fast performance the most optimal way would be to target the platform and use low level native code, so C++ or Swift.

It would cost you like 20x more than just using electron and it will cost you bigly if you have multiple platforms to maintain.

So it turns out having 1 team crunching out an app on electron with hundreds of dependencies is cheaper, naturally that's what most companies will do.

Don't want to use electron ? Then it's kind of the same issue except this time you're using Java and C# and you have to handle platform specific things on your own (think audio libraries for example). It's definitely doable but will be more costly than using a cross platform chromium app.

[โ€“] Sektor@lemmy.world 3 points 2 days ago

Technically there is no "most optimal". Optimal is basically best.