4 ms·
> Well guess what, people are just embedding browsers now Which is incredibly selfish and hypocritical, it drives up resource consumption across the world at a
by korijn 3y ago
> Well guess what, people are just embedding browsers now
Which is incredibly selfish and hypocritical, it drives up resource consumption across the world at a massive scale. Not just in terms of energy use, but it also forces people to buy more powerful machines, intensifying electronic waste problems.
Great job guys!
- raverbashing 3y agoThis was a problem 15 yrs ago. Today it isn't. The cheapest stuff that can run Qt is the same one that runs a basic Android install
- account42 3y agoIt's still a problem today even if you have trained yourself to not notice it.
- rychco 3y agoModern software embedding an entire web browser is absolutely & undeniably a problem.
- qtzfz 3y agoI hear this argument often, but I haven't heard a convincing argument. Why? Lack of storage? No. Lack of computing power or RAM? No. Then?
- bombolo 3y ago>Lack of storage? No. Why no? Not every machine is your 32GB RAM machine… If it has to run on a slower machine… say a raspberry pi with a slow flash drive and a slow external drive accessed over USB… being much smaller means speed. > Lack of computing power or RAM? No. Why no? Yes. We have had multitasking operating systems for a while now. Electron apps are tolerable because they are few. If every single application was done with electron, it'd be worse than windows95 on a 486. They still sell lots of computers with 8GB of RAM, although I'm sure your one has at least 2x, probably 4x as much. > Then? Then, with incorrect assumptions you can reach any result that you desire, but it is meaningless.
- raverbashing 3y ago> If it has to run on a slower machine… say a raspberry pi with a slow flash drive and a slow external drive accessed over USB This runs a web browser no problem. No need for 32GB of RAM It'd be hard to find some hardware today that runs Qt and not a web browser that's significantly cheaper (and will just make your development costs higher) Electron is an issue but nobody is using that for embedded > Then, with incorrect assumptions you can reach any result that you desire, but it is meaningless. Exactly
- bombolo 3y ago> Electron is an issue but nobody is using that for embedded Qt works fine on embedded. Quite popular there. > This runs a web browser no problem. No need for 32GB of RAM Yes, 1 web browser with a minimal no js page. But 10 at the same time? 20? Animated stuff in it?
- robinsonb5 3y agoEmbedding an entire web browser is the software equivalent of shipping a tiny part in a 2 foot cube box, or putting three layers of non-recyclable packaging on vegetables. Storage might be cheap, but storage you already have is free. I have a drawer full of old hard drives - all perfectly functional, but not useful because software footprint has exploded in recent years. Embedding a full web browser isn't the only offender, of course - the various types of container systems are another. And that's without mentioning deployment: It's easy to take a fast, high-quality always-on internet connection for granted, but there are many, many people who don't have that, or use mobile plans with strict data limits.
- rychco 3y agoYes to all the above, actually. Using Electron as an example, applications are often >100MB in size, consume >100MB memory on the low end, & (subjectively) perform badly enough that I can easily feel and perceive the delay between interaction-response. Very very wasteful.
- korijn 3y agoJust because you have access to powerful hardware doesn't mean others have as well. They have perfectly fine and adequate computers, until we started wrapping everything in electron. Now they have to spend their hard-earned money, and contribute to global electronic waste and resource consumption issues, just to be able to participate in society and save face. It's exactly your attitude that is at the root of this crisis.
- korijn 3y agoYou're proving my point by saying "the newer, more powerful machines can run more demanding software" and not looking any further than that. Are you saying electronic waste and increasing energy consumption aren't problems anymore?
- detaro 3y agoYou severely overestimate what "the cheapest stuff" (or maybe more accurate "the low-endest stuff") is.
- EntrePrescott 3y agoI hate embedded browser UIs like electron stuff as much as you do, but you're pointing your blaming finger in the wrong direction: What do you expect application developers to do in absence of a natively compiling cross-platform GUI lib that is both good and with a nice licensing terms (e.g. a permissive open source license)? To put their application development on ice so as to develop that (which is a huge task in itself)? If you want this situation to change and shitty browser-based UI to not be the go-to solution (for lack of a better cross-platform alternative for application developers), then feel free to go ahead and develop a native-compiling cross-platform GUI lib that plays in the same league as Qt, and make it available under a permissive open source license (unlike Qt).
- korijn 3y agoYou're pretending it was impossible to make applications before electron came around.
- EntrePrescott 3y agoNah, I'm not pretending anything of the likes in any way. In fact, the overwhelming majority of apps aren't cross-platform at all, so that's really the norm, not cross-platform frameworks. All I'm saying is that unlike the native platform-specific frameworks (which are limited to the respective platform, but which the platform vendors make available free of charge under terms favorable to commercial app development), there no cross-platform frameworks that are simultaneously good and not encumbered by totally grabastically shite licensing/pricing terms, thus naturally leading to a wide majority of application developers either going platform-specific… and a large part of the rest (i.e. those who still want to do cross-platform) going with the ugly embedded browser solution (electron and the likes). The browser-based approach, ugly as it is, happens to unfortunately be the only cross platform solution that is not encumbered by shitty app-developer-unfriendly licensing/pricing terms. Make a good, feature-rich and comprehensive cross-platform UI framework that is suitable both for desktop and mobile applications available under a nice permissive open-source license and you'll see lots of app developers use your framework instead of reluctantly using that browser shite (electron and such). The dilemma is: who's paying for the development? A good feature-rich comprehensive UI framework is an enormous effort (both upfront and ongoing), and recouping that enormous cost is far from obvious unless falling into one of these categories: * Platform-specific (i.e. not cross-platform): framework development financed by big platform vendor who makes framework available for free but platform-specific, in order to push their platform and make their money with the latter * browser based frameworks: framework development cost greatly reduced by re-using a pre-existing browser engine developed by some big player who finances browser engine development because they have a commercial interest in pushing their browser * Choosing a license that makes the financing of the framework possible by making the app developers pay mucho money… but then it will naturally be avoided by most app developers, especially given the existence of free alternatives (which may have other disadvantages, but those are orthogonal to that problem) * A big player subsidizing the development cost by some cross-financing from money made otherwise: that has happened for some open source software and libs in other domains, but not for a good cross-platform UI framework so far unfortunately.