All that to avoid hiring a few developers to make optimized native clients on the most popular platforms. Popular apps and websites should lose or get carbon credits on optimization. What is negligible for a small project becomes important when millions of users get involved, and especially background apps.
[0] https://news.microsoft.com/apac/2020/03/17/windows-10-poweri...
I feel like I never wasting my time when I learn how to do things with the web platform because it turns out the app I made for desktop and tablet works on my VR headset. Sure if you are going to pay me 2x the market rate and it is a sure thing you might interest me in learning Swift and how to write iOS apps but I am not going to do it for a personal project or even a moneymaking project where I am taking some financial risk no way. The price of learning how to write apps for Android is that I have to also learn how to write apps for iOS and write apps for Windows and write apps for MacOS and decide what's the least-bad widget set for Linux and learn to program for it to.
Every time I do a shoot-out of Electron alternatives Electron wins and it is not even close -- the only real competitor is a plain ordinary web application with or without PWA features.
Only if you're ok with giving your users a badly performing application. If you actually care about the user experience, then Electron loses and it's not even close.
Python + tkinter == about the same size as electron
Java + JavaFX == about the same size as electron
Sure there are people who write little applets for software developers that are 20k Win32 applications still but that is really out of the mainstream.
- iOS? React Native, Ionic, Web app via Safari
- Android? Same thing
- Mac, Windows, Linux – Tauri, Electron, serve it yourself
Native? Oh boy, here we fucking go: you've spent last decade honing your Android skills? Too bad, son, time to learn Android jerkpad. XML, styles, Java? What's that, gramps? You didn't hear that everything is Kotlin now? Dagger? That's so 2025, it's Hilt/Metro/Koin now. Oh wow, you learned Compose on Android? Man, was your brain frozen for 50 years? It's KMM now, oh wait, KMM is rebranded! It's KMP now! Haha, you think you know Compost? We're going to release half baked Compost multiplatform now, which is kinda the same, but not quite. Shitty toolchain and performance worse than Electron? Can't fucking hear you over jet engine sounds of my laptop exhaust, get on my level, boy!
> You also need a commercial license for automotive and embedded deployments.
How does that work? The LGPL (really any OSI license) isn't compatible with additional usage restrictions.
Slint has a similar license
"Can't" or "won't"? The UI process is not usually the part that need certification.
> Slint has a similar license
Indeed, but Slint's open source license is the GPL and not the LGPL. And its more permissive license is made for desktop apps and explicitly forbid embedded (so automotive)
Anyway it does look native and it is way faster than electron, which also doesn't look native so I don't understand why it's a problem for Qt but not for electron.