Because the app stores keep adding new requirements that you have to add code to deal with and it gets worse every year and seemingly every day.
Programmer Humor
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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
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.
It's nearly all just using a whole library instead of the specific single function thats actually required, because few people are actually writing any code these days.
Why are you asking? Are you trying to prematurely optimize these apps?
They only came out 10 years ago. If we optimize now, how will we integrate an AI chat agent feature next year?