Live data from Hacker News

Why is Claude an Electron app?

dbreunig.com

311–320 of 483 posts

Re: Why is Claude an Electron app?

#311
As many have pointed out, code is not free. More than that, the ability to go fast only makes architectural mistakes WORSE. You'll drive further down the road before realizing you made the wrong turn.

A native app is the wrong abstraction for many desktop apps. The complexity of maintaining several separate codebases likely isn't worth the value add. Especially for a company hemorrhaging money the way the Anthropic does.

Re: Why is Claude an Electron app?

#312

Earlier quoted context omitted.

Yeah, I've got a 7950x and 64gb memory. My vibe coding setup for Bevy game development is eight Claude Code instances split across a single terminal window. It's magical. I tried the desktop app and was shocked at the performance. Conversations would take a full second to load, making rapidly switching intolerable. Kicking off a new task seems to hang for multiple seconds while I'm assuming the process spins up. I wa…

God the number of ghastly survival crafting LLM slop games that are gonna appear on steam 6 months from now...

I'm already dreading it. Steam was already full of junk being released by the dozens every single day. It's hard to think it could be worse.

Re: Why is Claude an Electron app?

#313
post #272

Earlier quoted context omitted.

https://m.youtube.com/watch?v=We7BZVKbCVw within the first few seconds.

The full quote (in response to: should people learn programming) is "In a year or two it's not gonna matter, coding is largely solved". Which is still quite the statement, and damn the video is intolerable. But the full quote still feels a little different than how you put it here.

How so? If coding is largely solved and we are on the cusp of not even needing to learn to code, then the statement that they use electron because it’s what most of their engineers are familiar with seems a little contradictory.

Re: Why is Claude an Electron app?

#314

Earlier quoted context omitted.

Yes. That’s not a best practice. That’s why PRs and peer reviews and test automation suite exist.

I think it is common for one to write their own tests tho

He said QA. QA is more than just unit tests.

Re: Why is Claude an Electron app?

#315

> Electron apps are bloated; each runs its own Chromium engine. The minimum app size is usually a couple hundred megabytes. I only see these complaints on HN. Real users don't have this complaint. What kind of low-end machines are you running, that Chromium engine is too heavy for you? > They are often laggy or unresponsive. That's not due to Electron. > They don’t integrate well with OS features. If it is good enoug…

I run IT for a nonprofit and have 120 "real users" doing "real work" on "low-end machines "providing "real mental health, foster care, and social services" to "real communities".

These workers complain about performance on the machines we can afford. 16GB RAM and 256GB SSDs are the standard, as is 500MB/sec. internet for offices with 40 people, and my plans to upgrade RAM this year were axed by the insane AI chip boondoggle.

People on HN need to understand that not everyone works for a well-funded startup, or big tech company that is in the process of destroying democracy and the environment in the name of this quarter's profits!

BTW Teams has moved away from Electron, before it did I had to advise people to use the browser app instead of the desktop for performance reasons.

Re: Why is Claude an Electron app?

#316
post #208

Earlier quoted context omitted.

Presumably these competent people could look at electron, think about building their own cross-platform application on top of chromium and conclude that this free as in code and beer tool fit their needs. Should they have re-written Chromium too?

You are unfamiliar with native toolkits?

You are unfamiliar with design choices?

Re: Why is Claude an Electron app?

#317

Earlier quoted context omitted.

Presumably these competent people could look at electron, think about building their own cross-platform application on top of chromium and conclude that this free as in code and beer tool fit their needs. Should they have re-written Chromium too?

There's other ways to make cross platforms apps than to build them on top of a web browser

Yes, and?

And therefore, what?

That’s what’s missing and I think we should just be clear on: it is a design choice to choose electron over writing a native app.

Re: Why is Claude an Electron app?

#318

Earlier quoted context omitted.

I keep being told by Anthropic and others than these AI coding tools make it effortless to write in new languages and port code from one language to another. This is an important lesson to watch what people do, not what they say.

Nothing about what was said even contradicts that though. Maintaining three codebases is more work than maintaining one, so they are maintaining one.

But if AI can maintain code bases so easily, why does it matter if there are 3? People use electron to quickly deploy non-native apps across different systems.

Surely, it would be a flex to show that your AI agents are so good they make electron redundant.

But they don’t. So it’s reasonable to ask why that is.

Re: Why is Claude an Electron app?

#319

Boris from the Claude Code team here. Some of the engineers working on the app worked on Electron back in the day, so preferred building non-natively. It’s also a nice way to share code so we’re guaranteed that features across web and desktop have the same look and feel. Finally, Claude is great at it. That said, engineering is all about tradeoffs and this may change in the future!

As a user I would trade fewer features for a UI that doesn't jank and max out the CPU while output is streaming in. I would guess a moderate amount of performance engineering effort could solve the problem without switching stacks or a major rewrite. (edit: this applies to the mobile app as well)

Explains why my laptop turns into a makeshift toaster when the Claude app automatically runs in the background. Even many games don't run that intensively in the background.

Re: Why is Claude an Electron app?

#320

Earlier quoted context omitted.

Presumably these competent people could look at electron, think about building their own cross-platform application on top of chromium and conclude that this free as in code and beer tool fit their needs. Should they have re-written Chromium too?

They don't have to reinvent electron. They shouldn't need to use a whole virtualized operating system to call their web API with a fancy UI. Projects with much smaller budget than Atrophic has achieved much better x-plat UI without relying on electron [1]. There are more sensible options like Qt and whatnot for rendering UIs. You can even engineer your app to have a single core with all the business logic as a single…

And? So what?

What really am I to conclude by the mere fact that they used electron? The AI was not so magical that it overcame sense?

Am I to imagine that the fact that they advertise AI coding means I therefore have a window into their development process and their design choices?

I just think the notion is much sillier than all of us seem to be treating it.

Post reply on HN