←back to thread

128 points ksec | 4 comments | | HN request time: 0.76s | source
Show context
nxobject ◴[] No.42752454[source]
Intel advertising the fact that their schedulers can keep MS Teams confined to the efficiency cores... what a sad reflection of how bloated Teams is.

We make a single Electron-like app grow, cancer-like, to do everything from messaging and videoconferencing to shared drive browsing and editing, and as a result we have to contain it.

replies(5): >>42752643 #>>42752782 #>>42752873 #>>42753256 #>>42755019 #
notepad0x90 ◴[] No.42752873[source]
It can run in your browser too.The electron part isn't the bloat but the web part. Web devs keep using framework on top of frameworks and the bloat is endless. Lack of good native UX kits forces devs to use web-based kits. Qt has a nice idea with qml but aside from some limitations, it is mostly C++ (yes, pyqt,etc.. exist).

Native UI kits should be able to do better than web-based kits. But I suspect just as with the web, the problem is consistency. The one thing the web does right is deliver consistent UI experience across various hardware with less dev time. It all comes down to which method has least amounts of friction for devs? Large tech companies spent a lot of time and money in dev tooling for their web services, so web based approaches to solve problems inherently have to be taken for even trivial apps (not that teams is one).

Open source native UX kits that work consistently across platforms and languages would solve much of this. Unfortunately, the open source community is stuck on polishing gtk and qt.

replies(5): >>42753179 #>>42753320 #>>42753618 #>>42754829 #>>42760171 #
1. Terr_ ◴[] No.42753179[source]
Sometimes I find myself wistfully thinking of Java Swing applets with native theme settings.
replies(2): >>42753331 #>>42756154 #
2. notepad0x90 ◴[] No.42753331[source]
They say nostalgia is always deceptive, but I miss ~java2 era UX.
replies(1): >>42753408 #
3. Terr_ ◴[] No.42753408[source]
I don't think it was Java itself, but many operating systems simply had a much stronger set of UX that was cohesively being followed.

Yet here we are, in an era where you can encounter multiple choices and you don't know whether it's a single select versus a multi-select tick box. And then there's something with a boolean state, and it's not clear which color means it's currently active. Then you hit alt-F for the File menu order to quit your browser in frustration, but the web page blocks you because it has decided that means that you're going to "Favorite" whatever you're looking at.

4. ksec ◴[] No.42756154[source]
Same here. The write once run everywhere eventually did won but that was the web. And comparatively speaking, JVM is so much better today than it was 20 years ago.

I sometimes wonder if Chromium actually do any specific optimisation for Electrons related usage.