4 ms·
If we go by Microsofts 2020 account of 1 billion devices running Windows 10 [0], and assume all those are running some kind of electron app (or multiple?) you e
by dr_zoidberg 7mo ago
If we go by Microsofts 2020 account of 1 billion devices running Windows 10 [0], and assume all those are running some kind of electron app (or multiple?) you easily get your gigawatt by just saving 1 watt across each device (on average). I suspect you'd probably go higher than 1 gigawatt, but I'm not sure as far as making another order of magnitude. I also think the noisy fan on my notebook begs to differ and maybe the 10 GW mark could be doable...
[0] https://news.microsoft.com/apac/2020/03/17/windows-10-powering-the-world-with-one-billion-monthly-active-devices/ https://news.microsoft.com/apac/2020/03/17/windows-10-poweri...
- PaulHoule 7mo agoThere are 30,000 different x-platform GUI frameworks and they all share one attribute: (1) they look embarrassingly bad compared to Electron or Native apps and they mostly (2) are terrible to program for. 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.
- wiseowise 7mo agoMany times this. Native path is the path of infinite churn, ALL the time. With web you might find some framework bro who takes pride in knowing all the intricacies of React hooks who'll grill you for not dreaming in React/Vue/framework of the day, but fundamental web skills (JS/HTML/CSS) are universal. And you can pretty much apply them on any platform: - 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!
- LtWorf 7mo agoQt does exist. It's not difficult.
- inejge 7mo agoQt costs serious money if you go commercial. That might not be important for a hobby project, but lowers the enthusiasm for using the stack since the big players won't use it unless other considerations compel them.
- heavyset_go 7mo agoDepends on the modules and features you use, or where you're deploying, otherwise it's free if you can adhere to the LGPL. Just make it so users can drop in their own Qt libs.
- LtWorf 7mo agoI'm sure microsoft and slack have sufficient funds for a commercial Qt license.
- fc417fc802 7mo agoQT only costs money if you want access to their custom tooling or insist on static linking. We're comparing to electron here. Why do you need to static link? And why can't you write QML in your text editor of choice and get on with life?
- heavyset_go 7mo agoSome widgets and modules, like Qt Charts (or Graphs, I forget), are dual GPL and commercially licensed, so it's a bit more complicated than that. You also need a commercial license for automotive and embedded deployments.
- fc417fc802 7mo agoRight but it's a perfectly functional (even remarkably feature complete) UI toolkit without the copyleft addons. > 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.
- bigstrat2003 7mo ago> Every time I do a shoot-out of Electron alternatives Electron wins and it is not even close 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.
- PaulHoule 7mo agoName something specific. Note for two x-platform UI toolkits I have some familiarity with: 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.