frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Claude is an Electron App because we've lost native

https://tonsky.me/blog/fall-of-native/
52•todsacerdoti•1h ago

Comments

ttd•1h ago
Some random thoughts, since I've had a similar train of thought for a while now.

On one hand I also lament the amount of hardware-potential wastage that occurs with deep stacks of abstractions. On the other hand, I've evolved my perspective into feeling that the medium doesn't really matter as much as the result... and most software is about achieving a result. I still take personal joy in writing what I think is well-crafted code, and I also accept that that may become more niche as time goes on.

To me this shift from software-as-craft to software-as-bulk-product has some similarities to the "pets vs cattle" mindset change when thinking about server / process orchestration and provisioning.

Then also on the dismay of JS becoming even more entrenched as the lingua franca. There's every possibility that in a software-as-bulk-product world, LLM-driven development could land on a safer language due to efficiency gains from e.g. static type checking. Economically I wonder if an adoption of a different lingua franca could manifest by way of increasing LLM development speed / throughput.

usrnm•44m ago
> LLM-driven development could land on a safer language

Why does an LLM need to produce human readable code at all? Especially in a language optimized around preventing humans from making human mistakes. For now, sure, we're in the transitional period, but in the long run? Why?

zadikian•29m ago
LLMs are better at dealing with human-readable code on their own too
IncreasePosts•23m ago
For one thing, because it would be trained on human readable code.
mandevil•17m ago
I can't even imagine what "next token prediction" would look like generating x86 asm. Feels like 300 buffer overflows wearing a trench-coat, honestly.
zadikian•14m ago
It'd just run out of tokens
jerf•15m ago
From my post at https://jerf.org/iri/post/2026/what_value_code_in_ai_era/ , in a footnote:

"It has been lost in AI money-grabbing frenzy but a few years ago we were talking a lot about AIs being “legible”, that they could explain their actions in human-comprehensible terms. “Running code we can examine” is the highest grade of legibility any AI system has produced to date. We should not give that away.

"We will, of course. The Number Must Go Up. We aren’t very good at this sort of thinking.

"But we shouldn’t."

recursive•14m ago
So humans can verify that the code is behaving in the interests of humanity.
mjr00•6m ago
Because the traits that make code easy for LLMs to work on are the same that make it ideal for humans: predictable patterns, clearly named functions and variables, one canonical way to accomplish a task, logical separation of concerns, clear separation of layers of abstraction, etc. Ultimately human readability costs very little.
davorak•4m ago
> For now, sure, we're in the transitional period, but in the long run? Why?

Assuming that after the transitional period it will still be humans working with ai tools to build things where humans actually add value to the process. Will the human+ai where the ai can explain what the ai built in detail and the human leverages that to build something better, be more productive that the human+ai where the human does not leverage those details?

That 'explanation' will be/can act as the human readable code or the equivalent. It does not need to be any coding language we know today however. The languages we have today are already abstractions and generalizations over architectures, OSs, etc and that 'explanation' will be different but in the same vein.

mushufasa•48m ago
Perhaps a hot take, but I'm glad for electron apps because that also means they will be well supported on linux, which is almost never the target of native development.
drcongo•44m ago
I really hate Electron, but something is so rotten under macOS that even some of Apple's own native apps are appalling. The Settings and Passwords apps are so bad as to be almost unusable, I'd love to know how and why they're that bad - are they catalyst, or just badly made?
nullbyte•32m ago
They did something to Settings after MacOS Monterey that made it very slow. I miss the snappiness of the old app!
dilap•7m ago
I don't know for a fact, but I'd bet a few digits of cold hard cash it's a SwiftUI rewrite that is to blame. (Any1 in the know want to chime in?)

And yeah, it's terrible. Apple doesn't make good apps anymore.

(This is part of why I think electron does so well -- it's not as good as a really good native app [e.g. Sublime Text], but it's way better than the sort of default whatever you'll get doing native. You get a lot of niceness that's built into the web stack.)

poszlem•7m ago
Well, perhaps it has something to do with the fact that they started using webviews for stuff like system UI: https://blog.jim-nielsen.com/2022/inspecting-web-views-in-ma...
jen20•2m ago
While there are missing features (e.g. ability to merge records), I have to say that Passwords.app is worlds ahead of 1Password since their electron rewrite. System Settings is not the best (mostly because the search is broken), but Passwords is sufficiently good that I haven't bothered looking what it's written using, whereas I can immediately tell with Electron.
goda90•42m ago
Maybe the hardware supply crisis caused by demand for AI data centers will lead to a push for more efficient and backwards compatible client software.
pjmlp•39m ago
Nah, some developers are lazy, that is all, lets not dance around the bush with that one.

Most of those Electron folks would not manage to even write C applications on an Amiga, use Delphi, VB, or whatever.

Educated on node and do not know anything else.

Even doing a TUI seems like a revelation to current generations, something quite mudane and quite common on 1980's text based computing of Turbo Vision, Clipper and curses.

reactordev•37m ago
They wrote a React TUI renderer, that’s what they did. Shame…

I understand why, but there is such beauty in the simplicity of ansi.

pjmlp•19m ago
The company that supposedly is selling that AI can do everything to replace us.
zadikian•30m ago
At least it seems like a lot more apps are cross-platform than before. I wouldn't call the native devs lazy for not making a Mac version of their Windows app.
pjmlp•20m ago
Agreed, yet back in the day we even managed to do that with applications being written in Assembly, in some cases.

Uphill both ways, should be easy for a company doing C compilers with LLMs.

Iolaum•25m ago
In an age where LLM's start writing applications why would this matter?
pjmlp•21m ago
Yet another reason to have those LLMs create native applications, should be easy apparently.
sehugg•59s ago
Realize, though, that just grabbing a frame buffer is not a thing anymore. To render graphics you need GLES support through something like ANGLE, vectors and fonts via Skia, Unicode, etc. A web browser has those things. Any static binary bundling those things is also gonna be pretty large.

And JavaScript is very good at backwards compatibility when you remove the churn of frameworks (unfortunately Electron doesn't guarantee compatibility quite as far back)

lapcat•37m ago
It's weird for the author to mention Mac window buttons and corner radius as reasons to use Electron, because while the main content of Electron app windows is HTML, the Electron windows themselves and the window chrome are native, with the same buttons and corner radius as other apps on the system.

Electron is a native wrapper for web content. The wrapper is still native.

> Native APIs are terrible to use, and OS vendors use everything in their power to make you not want to develop native apps for their platform.

I'm honestly not quite sure what the author means here.

Web APIs are equally “terrible” in my opinion. In any case, you have to release an Electron app on Mac the same way you release any native app on Mac. The benefit of using web APIs is not that they are non-terrible but that you can share the same code as your website. And of course you can more easily find web developers than native developers. But that has nothing to do with whether or not the API is terrible. It’s just supply and demand.

I’ll take AppKit and autolayout any day over CSS, ugh. CSS is the worst.

lxgr•23m ago
> with the same buttons and corner radius as other apps on the system

I just checked: No, the corner radius is different. I'm personally not very bothered by that, but it's just empirically true.

> Electron is a native wrapper for web content. The wrapper is still native.

In my view, the problem isn't that it's a wrapper, but rather that it's that it's a bad wrapper of a bad runtime (i.e. the incredibly bloated JS/web stack).

lapcat•18m ago
> I just checked: No, the corner radius is different.

It may depend on which SDK version the developer uses.

zadikian•20m ago
UIKit etc never made sense to me after years, CSS also didn't make sense, but right out of the box I understood React. And with hooks, it's way less boilerplate than the UIKit ways.

Sure I never understood AutoLayout, but how many people really do? Every new screen size broke tons of apps. My high school ObjC app developed for the iPhone 1 using C macros to calculate dimensions still worked fine on later models. And yes CSS is fragile too.

Separate from that, Apple doesn't seem to mind breaking native macOS apps, to the point where most devs treat native code like a liability on Mac but ok on Windows.

reconnecting•36m ago
10 days ago: https://news.ycombinator.com/item?id=47104973
rapnie•34m ago
Besides going full native, a Tauri [0] app might have been another good alternative given they already use Rust. There are pros and cons to that choice, of course, and perhaps Tauri was considered and not chosen. Tauri plus Extism [1] would have been interesting, enabling polyglot plugin development via wasm.

[0] https://tauri.app/

[1] https://extism.org/

headcanon•16m ago
+1 for Tauri, I've been using it for my recent vibe-coded experimental apps. Making rust the "center of gravity" for the app lets me use the best of all worlds:

- declarative-ish UI in typescript with react

- rust backend for performance-sensitive operations

- I can run a python sidecar, bundled with the app, that lets me use python libraries if I need it

If I can and it makes sense to, I'll pull functionality into rust progressively, but this give me a ton of flexibility and lets me use the best parts of each language/platform.

Its fast too and doesn't use a ton of memory like electron apps do.

EduardoBautista•12m ago
Also, Rust's strong and strict type system keeps Claude honest. It seems as if the big LLM models have trained on a lot of poorly written TypeScript because they tend to use type assertions such as `as any` and eslint disable comments.

I had to add strict ESLint and TypeScript rules to keep guardrails on the coding agents.

oooyay•7m ago
I use something similar to Tauri called Wails: https://wails.io/ that's Go-based.
nitwit005•30m ago
Even if web rendering is the best technology possible, there's still plenty you could hypothetically optimize, like replacing the Javascript with native code, or cutting out unused features to get a smaller download.

Ultimately, Claude having limitations is an issue. They can't just point it at the code base and ask it to make it faster.

written-beyond•20m ago
You've basically described Flutter and Jetpack compose(for desktop). The problem really does turn into effort to pay off, even if we stayed with JS and the rendering engine, figured out a way to compile JS into native code and completely stripping all of the unused functionality and doing the same thing with the rendering engine. All of that would need to be made, it's not like electron apps literally crash you machine. You have metrics, hundreds of millions of devices running electron apps at a daily basis. Unless you make your own company, I don't think anyone can convince their leadership to take such a decision.
nitwit005•6m ago
I'm not arguing for actually doing this, I'm just suggesting Claude's limitations are actually an issue (contrary to what the article asserts).
zitterbewegung•24m ago
X foundational model Apps UIs are electron apps because all of them are web first and App second and the easiest way to do this is being an Electron app.
daxfohl•23m ago
I imagine the first step would be for them to make a cross platform UI framework that's better than any existing options, and then port claude to it.

Making five different apps just to claim "native" doesn't seem like a great choice, and obviously for now, delivering new claude features takes priority over a native graphics framework, so electron makes sense. But that doesn't mean it'll be on electron forever.

ToucanLoucan•16m ago
Respectfully: skill issue. My employer ships software native for Windows, Mac, iOS and Android. Different codebases for all (though they share a lot of common stuff), all maintained by a shockingly small team.

It’s absolutely achievable if you give a shit about your products and I’m long over hearing the bevy of usual fucking excuses from software houses often magnitudes larger than us who struggle to even keep their electron shit working correctly.

jen20•4m ago
Native is shorthand for "integrated into the platform". Lowest-common-denominator stuff that Electron gives feels correct nowhere (looking at you, Slack). The very best cross-platform applications implement their UI using the native platform idioms on the native platform technologies, and share the core of their logic. The current best example I have is Ghostty which feels perfectly at home on either macOS or Linux.
jxdxbx•3m ago
When I complain about a lack of “native” software I pretty much always mean the platform-provided defaults. Not some cross-plaform UI toolkit that happens to be “native” code. Most apps that I see using QT on Mac or whatever would provably be better as Tauri apps.
asah•18m ago
great post - let me add that native was forced into some of this by the web:

1. locked up files ==> that's for security, which wasn't an issue in the 1990s.

2. inconsistent look ==> people are embedding browsers inside apps for all sorts of reasons, ruining the "native" UI/UX even if the OS "look" were stable.

It took a while, but once again open source and the web kinda won, though if you like consistency, then I agree it's a pyrrhic victory...

rvz•18m ago
More like a skill issue, than 'losing native'.
fHr•14m ago
Codex cli rust /thread
strongpigeon•10m ago
But the Codex app is Electron based...
baggachipz•13m ago
Clicks link, goes to blog site

My eyes! The goggles, they do nothing!

1970-01-01•8m ago
Isn't native just the CLI?
giancarlostoro•6m ago
I have been using Claude Code ironically enough to build native apps via Qt and Rust, the output is impressive. Might give writing an IRC client a shot and put it in GitHub.
andyjohnson0•5m ago
> Native APIs are terrible to use, and OS vendors use everything in their power to make you not want to develop native apps for their platform.

Disagree. I'm most familiar with Windows and Android - but native apps on those platforms, snd also on Mac, look pretty good when using the default tools and libraries. Yes, its possible to use (say) material design and other ux-overkill approaches on native, but thats a choice just like it us for web apps.

And OS vendors are very much incentivised to make natuve development as easy and painless as possible - because lock-in.

> That explains the rise of Electron before LLM times,

Disagree. The "rise of Electron" is due to the economics of skill-set convergence on JS, the ubiquity of the JS/HTML/CSS/Node stack platform, and many junior developers knowing little or nothing else.

As for the rest: minor variations in traffic light positioning and corner radii are topical but hardly indicators of decaying platorms.

bdangubic•3m ago
> Disagree. The "rise of Electron" is due to the ubiquity of the JS/HTML/CSS/Node stack, and many junior developers knowing nothing else.

with all due respect - hard disagree. in what place on Earth to Junior Devs make these types of decisions?? Or decision makers going “we got these Juniors that know JS so it is what is…”

d0m•4m ago
Apple/Google could easily make web apps native if they wanted
etothet•57s ago
"The real reason is: native has nothing to offer."

I get it, but this is a bit dramatic.

One of the biggest challenges I've found with using non-native tools (and specifically the various frameworks that let you write JavaScript that compile to Native code) is that there is much less of a guarantee that the 3rd party solution will continue support for new OS versions. There's much less of a risk with that with 1st party solutions.

Additionally, those 3rd parties are always chasing the 1st part vendor for features. Being far behind the regular cadence of releases can be quite inconvenient, despite any advantages initially gained.

Ask HN:How are you estimating Claude costs before committing to an architecture?

1•sarthakaggarwal•2m ago•0 comments

Show HN: Franklin Prompt Studio – desktop tool for decision-ready AI answers

https://www.dfrankstudioz.com/
1•dfstudioz•3m ago•0 comments

A Comparative Security Analysis of Three Cloud-Based Password Managers [pdf]

https://eprint.iacr.org/2026/058.pdf
1•PaulHoule•3m ago•0 comments

GitHub Is Having Issues

https://www.githubstatus.com/incidents/n07yy1bk6kc4
8•Simpliplant•5m ago•0 comments

Iran War Cost Tracker

https://iran-cost-ticker.com
2•TSiege•5m ago•1 comments

Show HN: The OpenClaw Market Map, Q1 2026

https://manifest.build/blog/claw-market-map-q1-2026/
1•stosssik•6m ago•0 comments

Show HN: TopVideoHub – Discover trending videos across 9 Asia-Pacific regions

https://topvideohub.com/
1•ibrahimtxyz•6m ago•0 comments

CMS halts enrollment in Elevance/Anthem, citing years of misconduct

https://www.statnews.com/2026/03/02/elevance-stock-cms-medicare-advantage-enrollment/
1•brandonb•6m ago•0 comments

GitHub Is Degraded

https://updog.ai/status/github
5•shahahmed•7m ago•0 comments

Reconfigurable single-walled carbon nanotube ferroelectric FET transistors

https://www.nature.com/articles/s41467-025-62827-2
1•westurner•8m ago•0 comments

Tell HN: GitHub Having Issues

15•Sytten•8m ago•7 comments

When Everyone Has an Agent

https://heynavii.substack.com/p/when-everyone-has-an-agent
1•saurabhpalan•10m ago•0 comments

AgentOps and operationalizing AI agents for the enterprise

https://www.uipath.com/blog/ai/agent-ops-operationalizing-ai-agents-for-enterprise
3•vladionescu•11m ago•1 comments

Prediction and Entropy of Printed English – Claude Shannon (1950) [pdf]

https://languagelog.ldc.upenn.edu/myl/Shannon1950.pdf
2•thunderbong•11m ago•0 comments

Intel's make-or-break 18A process node debuts for data center with 288-core Xeon

https://www.tomshardware.com/pc-components/cpus/intels-make-or-break-18a-process-node-debuts-for-...
21•vanburen•13m ago•1 comments

Silent Backwards Compatibility Breaking Changes in PyTorch

https://blog.ezyang.com/2026/03/silent-bc-breaking-changes/
3•matt_d•16m ago•1 comments

Hacked traffic cameras & US Intel: How plot to kill Iran's leader came together

https://www.cnn.com/2026/03/03/middleeast/us-israel-plot-kill-iran-khamenei-latam-intl
2•CGMthrowaway•16m ago•0 comments

Claude Code escapes its own denylist and sandbox

https://ona.com/stories/how-claude-code-escapes-its-own-denylist-and-sandbox
4•tomvault•17m ago•2 comments

I Built a Spy Satellite Simulator in a Browser. Here's What I Learned

https://www.spatialintelligence.ai/p/i-built-a-spy-satellite-simulator
3•CGMthrowaway•18m ago•0 comments

LotusQ Cross platform voice dictation with free local Whisper(Mac/Windows/Linux)

2•nkodev•19m ago•1 comments

The gap between ICP documents and buyer understanding in B2B sales

https://artemisgtm.ai/blog/why-most-b2b-companies-get-icp-wrong
2•thegtmauditguy•20m ago•1 comments

Academics Need to Wake Up on AI

https://alexanderkustov.substack.com/p/academics-need-to-wake-up-on-ai
2•verdverm•20m ago•0 comments

Qwen Tech Lead Steps Down

https://twitter.com/JustinLin610/status/2028865835373359513
3•informal007•20m ago•0 comments

Fire the CEO, Introducing the AxO's

https://boringops.sh/articles/fire_the_ceo/
3•boringops-dan•21m ago•0 comments

Mpv Is the MVP of Video and Image Viewing

https://nickjanetakis.com/blog/mpv-is-the-mvp-of-video-and-image-viewing
2•nickjj•21m ago•0 comments

Deprecate confusing APIs like "os.path.commonprefix()"

https://sethmlarson.dev/deprecate-confusing-apis-like-os-path-commonprefix
2•todsacerdoti•21m ago•0 comments

Ask HN: Using AI at work is stupidity, or a good tool if used properly?

2•MrLey•26m ago•0 comments

How HN: DocAPI – HTTP 402 as designed: agents register, pay USDC, run forever

https://www.docapi.co
2•siwandev•28m ago•1 comments

Why exe.dev VMs are persistent

https://blog.exe.dev/persistent
3•tosh•28m ago•0 comments

Gram 1.0 Released

https://gram.liten.app/posts/first-release/
2•birdculture•30m ago•0 comments