News for hackers. Stuff that matters.
Re:Claude is an Electron App because we've lost native by Gooblebrai on Tuesday March 03, 2026 @06:32PM (#47240681)
> They could have done better. They chose the path of least resistance, putting in the least amount of effort, spending the least amount of resources into accomplishing a task

You might as well tell reality to do better: The reality of physics (water flows downhill, electricity moves through the best conductor, systems settle where the least energy is required) and the reality of business (companies naturally move toward solutions that cost less time, less money, and less effort)

I personally think that some battles require playing within the rules of the game. Not to wish for new rules. Make something that requires less effort and resources than Electron but is good enough, and people will be more likely to use it.

Re:Claude is an Electron App because we've lost native by observationist on Tuesday March 03, 2026 @06:54PM (#47240947)
Shaming the use of electron? I'll do that every day and twice on sunday. Same with nonsense websites that waste gigabytes on bloat, spam users with ads, and feed the adtech beast. And I'll lay credit for this monument to enshittification we call the internet at the feet of Google and Facebook and Microsoft.

Using electron and doing things shittily is a choice. If you're ever presented with a choice between doing something well and not, do the best you can. Electron is never the best choice. It's not even the easiest, most efficient choice. It's the lazy, zero effort, default, ad-hoc choice picked by someone who really should know better but couldn't be bothered to even try.

Re:Claude is an Electron App because we've lost native by llbbdd on Tuesday March 03, 2026 @08:36PM (#47241864)
What alternative did you have in mind when you said there are even easier ways of getting high-performance cross-platform software built?
Re:Claude is an Electron App because we've lost native by dmix on Tuesday March 03, 2026 @10:34PM (#47242712)
I might hate Qt apps more than I hate Electron so I'm curious about the answer too.
Re:Claude is an Electron App because we've lost native by prizzom on Tuesday March 03, 2026 @10:46PM (#47242800)
As a recent toe-dipper into linux (now running Arch on a powerful minipc and KDE plasma) I'm shocked at how little progress has been made on the native UI side.
Re:Claude is an Electron App because we've lost native by KETHERCORTEX on Saturday March 07, 2026 @03:55AM (#47285858)
Well, it's not that surprising, considering that as soon as something radically new appears, there is always some mistreatment from all sides: platform owners, app developers and users.

Windows' Metro/Modern UI was pretty good from different perspectives, but didn't have enough effort put into it to make it a universal thing fit for multiple purposes (half of the Windows settings was still in Control Panel for quite some time), wasn't familiar for users (so they hated it) and wasn't familiar for developers (so they created hideous apps).

In the opposing Linux camp, GNOME made Gtk 4 with Libadwaita UI library with "everything is a phone app" mindset that not every app can adopt. For example, there's no application menu (a line with File, View, Edit, etc.) component shipped by default, you should make it yourself or get it somewhere. So now GIMP is developed using Gtk 3 (not modern 4) because it has all the components GIMP needs. Trying to get GNOME developers to implement some stuff outside of their vision is a futile effort.

Re:Claude is an Electron App because we've lost native by wolvesechoes on Wednesday March 04, 2026 @03:09AM (#47244561)
Whats is wrong with Qt apps? Take too little RAM?
Re:Claude is an Electron App because we've lost native by llbbdd on Wednesday March 04, 2026 @04:28AM (#47245096)
As far as I can tell after a quick Google, you can't share your Qt UI with the browser version of your app. Considering that "lite" browser-based versions of apps are a very common funnel to a more featureful desktop version, it makes sense to just use the UI tools that already work and provide a common experience everywhere.

The same search incidentally turned up that Qt requires a paid license for commercial projects, which is surprising to me and obviously makes it an even less attractive choice than Electron. Being less useful and costing more isn't a great combo.

Re:Claude is an Electron App because we've lost native by wolvesechoes on Wednesday March 04, 2026 @04:39AM (#47245188)
> you can't share your Qt UI with the browser version of your app

You can with WASM (but you shouldn't).

> Qt requires a paid license for commercial projects

It doesn't, it requires paid license if you don't want to abide with (L)GPL license, which should be fair deal, right? You want to get paid for your closed-source product, so you should not have any reservations about paying for their product that enables you to create your product, right? Or is it "money for me, but not for thee"?

> Being less useful and costing more isn't a great combo.

Very nice, but now explain why you are talking about using Qt to create apps, whereas grandparent talks about experience with apps created with Qt.

Re:Claude is an Electron App because we've lost native by llbbdd on Wednesday March 04, 2026 @05:20AM (#47245490)
I looked up the WASM Qt target and it renders to a canvas, which hampers accessibility. The docs even call out that this approach barely works for screen readers [0], and that it provides partial support by creating hidden DOM elements. This creates a branch of differing behavior between your desktop and browser app that doesn't have to exist at all with Electron.

It should go without saying that the requirements of the LGPL license are less attractive than the MIT one Electron has, fairness doesn't really come into it. Beyond the licensing hurdles that Qt devotes multiple pages of its website to explaining, they also gate commercial features such as "3D and graphs capabilities" [1] behind the paid license price, which are more use cases that are thoroughly covered by more permissively licensed web projects that already work everywhere.

On your last point I'm completely lost; it's late here so it might be me but I'm not sure what distinction you're making. I guess I interpreted dmix' comment generally to be about the process of producing software with either approach given that my comment above was asking for details on alternatives from the perspective of a developer and not a user. I don't have any personal beef with using apps that are written with Qt.

[0] https://doc.qt.io/qt-6/wasm.html#accessibility-and-screen-re...

[1] https://www.qt.io/development/qt-framework/commercial-qt

Re:Claude is an Electron App because we've lost native by wolvesechoes on Wednesday March 04, 2026 @05:30AM (#47245568)
> I don't have any personal beef with using apps that are written with Qt.

But the author of a comment I originally replied to has:

> I might hate Qt apps more than I hate Electron

therefore it is your insertion about dev experience and license costs of Qt vs MIT-licensed web frameworks that makes me lost.

Re:Claude is an Electron App because we've lost native by jenadine on Wednesday March 04, 2026 @09:06AM (#47247531)
Qt is LGPL. Same license of WebKit used internally by electron of I'm not mistaken.
Re:Claude is an Electron App because we've lost native by wolvesechoes on Wednesday March 04, 2026 @01:23PM (#47251653)
Some bits are GPL (QtCharts for example)
Re:Claude is an Electron App because we've lost native by dmix on Wednesday March 04, 2026 @02:02PM (#47252211)
I do frontend work so struggle to get over how bad most Qt GUIs are. They are far out of date compared to Gnome or MacOS in a lot of the small widget details and menus.

Plus I use Mac these days and Qt apps just never looked right on that platform.

At least web apps looks like web apps.

Re:Claude is an Electron App because we've lost native by ivan_gammel on Wednesday March 04, 2026 @03:05AM (#47244517)
It might be a strange thing to say, but Java is still viable alternative route. You can build a nice and fast cross-platform desktop application on it today. The language was designed for this kind of things. The entry barrier is quite high though.
Re:Claude is an Electron App because we've lost native by observationist on Wednesday March 04, 2026 @10:28AM (#47248904)
The power move would have been Cosmopolitan, or a package similar to it.

https://github.com/jart/cosmopolitan

Cosmopolitan can be used to bundle up any gui package, and your code, and a team of professional software devs should be able to cope with it just fine. You end up with a native executable with a slightly bigger package to ship, since it's carrying executables for various platforms, but you'd effectively have the same code and behavior everywhere. A few extra megabytes, instead of whatever the hell electron is doing. They could also use Java, or even one of the electron type clones that attempt to be better, like Tauri.

The point isn't that electron is so awful. It's that the company with the purportedly best coding AI and one of the best overall AI models in the world chose to do the absolute tawdriest, cheapest, even laziest thing without any consideration of what the right thing to do might be, or what thing they could do that demonstrated their excellence and mastery of craft, or at a bare minimum, the advanced capabilities of the AI.

Cursor used claude to build a browser from scratch; it's not like their AI couldn't do it.

Re:Claude is an Electron App because we've lost native by salad-tycoon on Wednesday March 04, 2026 @10:22PM (#47257129)
I don’t code, so I’m well out of my league but this point of “premier coding AI company should showcase its capabilities by using their own model to build superior software” rings true to me, right? Especially as we start to discuss AI as more dangerous than nuclear weapons yet it can’t even do that?

Who’s got the rebuttal to this?

Re:Claude is an Electron App because we've lost native by blackqueeriroh on Wednesday March 04, 2026 @12:36AM (#47243509)
Please do continue to waste energy on doing something that will do nothing but allow you to feel superior about yourself. In fact, you will probably waste more energy than Electron ever has.