zlacker

[parent] [thread] 42 comments
1. gloosx+(OP)[view] [source] 2026-02-03 06:38:10
>This requires calling native APIs (e.g., Win32), which is not feasible from Electron.

Who told you that? You can write entire C libraries and call them from Electron just fine. Browser is a native application after all. All this "native applications" debate boils down to the UI implementation strategy. Maintaining three separate UI stacks (WinUI, SwiftUI, GTK/Qt) is dramatically more expensive and slower to iterate on than a single web-based UI with shared logic

We already have three major OSes, all doing things differently. The browsers, on the other hand, use the same language, same rendering model, same layout system, and same accessibility layer everywhere, which is a massive abstraction win.

You don't casually give up massive abstraction wins just to say "it's native". If "just build it natively" were actually easier, faster, or cheaper at scale, everyone would do just that.

replies(8): >>gbaldu+J1 >>AdamN+si >>thekna+pj >>vintag+Iv >>ninete+XO >>outime+KT >>knoopx+Me1 >>Gorbac+uH1
2. gbaldu+J1[view] [source] 2026-02-03 06:54:17
>>gloosx+(OP)
It baffles me how much the discourse over native apps rarely takes this into consideration.

You reduce development effort by a third, it is ok to debate whether a company so big should invest into a better product anyway but it is pretty clear why they are doing this

replies(5): >>vlovic+S7 >>pydry+Ub >>SPICLK+ew >>falcor+nP >>eloisa+1Z
◧◩
3. vlovic+S7[view] [source] [discussion] 2026-02-03 07:46:05
>>gbaldu+J1
There are cross platform GUI toolkits out there so while I am in team web for lots of reasons, generally it’s because web apps are faster and cheaper to iterate.
replies(1): >>mycall+QO
◧◩
4. pydry+Ub[view] [source] [discussion] 2026-02-03 08:16:24
>>gbaldu+J1
>You reduce development effort by a third

Done by the company which sells software which is supposed to reduce it tenfold?

replies(1): >>holmes+5j
5. AdamN+si[view] [source] 2026-02-03 09:07:13
>>gloosx+(OP)
The gap here is that the company has the money and native apps are so clearly better. With an interactive app a company like OpenAI could really tweak the experience for Android and iOS which have different UX philosophies and featuresets in order to give the best experience possible. It's really a no brainer imho.
replies(1): >>pimter+Bo
◧◩◪
6. holmes+5j[view] [source] [discussion] 2026-02-03 09:12:49
>>pydry+Ub
> You don't casually give up massive abstraction wins

Value is value, and levers are levers, regardless of the resources you have or the difficulty of the problem you're solving.

If they can save effort with Electron and put that effort into things their research says users care about more, everyone wins.

replies(2): >>jim180+Ku >>pydry+1d1
7. thekna+pj[view] [source] 2026-02-03 09:14:48
>>gloosx+(OP)
React Native is able to build abstractions on top of both Android and iOS that uses native UI. Microsoft even have a package for doing a "React Native" for Windows: https://github.com/microsoft/react-native-windows

It's weird that we don't have a unified "React Native Desktop" that would build upon the react-native-windows package and add similar backends for MacOS and Linux. That way we could be building native apps while keeping the stuff developers like from React.

replies(2): >>reveri+5p >>realus+NH
◧◩
8. pimter+Bo[view] [source] [discussion] 2026-02-03 09:51:43
>>AdamN+si
> the company has the money

It's not about money. It's not a tradeoff in cost vs quality - it's a tradeoff in development speed. Shipping N separate native versions requires more development time for any given change: you must implement everything (at least every UI) N times, which drastically increases the design & planning & coordination required vs just building and shipping one implementation.

Do you want to move slower to get "native feel", or do you want to ship fast and get N times as much feature dev done? In a competitive race while the new features are flowing, development speed always wins.

Once feature development settles down, polish starts to matter more and the slowdown becomes less important, and then you can refocus.

replies(3): >>manuel+SE >>deerin+QK >>AdamN+A31
◧◩
9. reveri+5p[view] [source] [discussion] 2026-02-03 09:54:51
>>thekna+pj
There are such implementations for React Native: https://reactnative.dev/docs/out-of-tree-platforms
◧◩◪◨
10. jim180+Ku[view] [source] [discussion] 2026-02-03 10:42:20
>>holmes+5j
After every time I read "save effort with Electron", I go back to Win2K VM and poke around things and realize how faster everything is than M4 Max, just because value is value, and Electron saves some effort.
11. vintag+Iv[view] [source] 2026-02-03 10:52:04
>>gloosx+(OP)
> If "just build it natively" were actually easier, faster, or cheaper at scale, everyone would do just that

Value prop of product quality aside, isn't the AI claim that it helps you be more productive? I would expect that OpenAI would run multiple frontends and that they'd use Codex to do it.

Ie are they using their own AI (I would assume it's semi-vibe-coded) to just get out a new product or using AI to create a new product using the productivity gains to let them produce higher quality?

replies(2): >>vintag+Kx >>Closi+u01
◧◩
12. SPICLK+ew[view] [source] [discussion] 2026-02-03 10:56:41
>>gbaldu+J1
That might be true (although you do add in the mess of web frameworks), but I strongly believe that resource usage must factor into these calculations too. It's a net negative to end users if you can develop an app a bit quicker but require the end users to have multiple more times RAM, CPU, etc.
replies(3): >>icoder+fE >>ethbr1+ZN >>ttsala+5O
◧◩
13. vintag+Kx[view] [source] [discussion] 2026-02-03 11:09:56
>>vintag+Iv
On a side note, the company I work for (RemObjects, not speaking on their behalf) has a value ethos specifically about using the native UI layers, and encouraging our customers to do the same. (We make dev tools, a compiler supporting six languages (C#, Java, Go, etc) plus IDEs.)

Our IDE does this: common code / logic, then a native macOS layer and a WPF layer. Yes, it takes a little more work (less than you'd think!) but we think it is the right way to do it.

And what I hope is that AI will let people do the same -- lower the cost and effort to do things like this. If Electron was used because it was a cheap way to get cross-platform apps out, AI should now be the same layer, the same intermediate 'get stuff done' layer, but done better. And I don't think this prevents doing things faster because AI can work in parallel. Instead of one agent to update the frontend, you have two to update both frontends, you know?

We're building an AI agent, btw. Initially targeting Delphi, which is a third party's product we try to support and provide modern solutions for. We'll be adding support for our own toolchains too.

What I fear is that people will apply AI at the wrong level. That they'll produce the same things, but faster: not the same things, but better (and faster.)

◧◩◪
14. icoder+fE[view] [source] [discussion] 2026-02-03 11:53:14
>>SPICLK+ew
Especially given how fast things progress, timeline and performance are a tradeoff where I'd say swaying things in favour of the latter is not per definition net positive.
replies(1): >>SPICLK+mP
◧◩◪
15. manuel+SE[view] [source] [discussion] 2026-02-03 11:57:16
>>pimter+Bo
> it's a tradeoff in development speed

Doesn't this get thrown out the window now that everyone claims you can be 10x, 50x, 100x more productive with AI? Hell people were claiming you can ask a bunch of AI agents to build a browser from scratch, so surely the dev speed argument no longer applies.

replies(1): >>angiol+qU
◧◩
16. realus+NH[view] [source] [discussion] 2026-02-03 12:18:16
>>thekna+pj
React Native desktop on Linux isn't a thing, the GTK backend is abandonned.

So if you want a multiplatform desktop app also supporting Linux, React Native isn't going to cut it.

replies(1): >>sideef+BS1
◧◩◪
17. deerin+QK[view] [source] [discussion] 2026-02-03 12:35:15
>>pimter+Bo
So, this certainly was a valid argument. But it seems to me that the whole value proposition behind these agentic AI coding tools is to be able to move beyond this. Are we very far from being able to define some Figmas and technical specs and have Codex generate the UIs in 5 different stacks? If that isn't a reality in the near future, then why should we buy AI Tools?
◧◩◪
18. ethbr1+ZN[view] [source] [discussion] 2026-02-03 12:59:04
>>SPICLK+ew
> multiple more times RAM, CPU, etc.

Part of this (especially the CPU) is teams under-optimizing their Electron apps. See the multi-X speedup examples when they look into it and move hot code to C et al.

◧◩◪
19. ttsala+5O[view] [source] [discussion] 2026-02-03 12:59:27
>>SPICLK+ew
It might be a cynical take, but I don't think there is a single person in these companies that cares about end user resource usage. They might care if the target were less tech savvy people that are likely to have some laptop barely holding up with just Win11. But for a developer with a MacBook, what is one more electron window?
replies(1): >>throwa+Q54
◧◩◪
20. mycall+QO[view] [source] [discussion] 2026-02-03 13:05:58
>>vlovic+S7
Cross platform GUIs might does have the same of support and distributed knowledge as HTML/CSS/JS. If that vendor goes away or the oss maintainers go a different direction, now you have an unsupported GUI platform.
replies(1): >>vlovic+PU1
21. ninete+XO[view] [source] 2026-02-03 13:06:27
>>gloosx+(OP)
This is such a toy webdev take. It's like you guys forget that the web-browser wouldn't work at all if not for the server half, all compiled to native code.

The browser is compiled to native code. It wasn't that long ago that we had three seperate web browsers who couldn't agree on the same set of standards either.

Try porting your browser to Java or C# and see how much faster it is then. The OS the browser and the server run on are compiled to native code. Sun gave up on HotJava web browser in the 1990's, because it couldn't do %10 or %20 of what Netscape or IE could do, and was 10 x slower.

Not everybody is running a website selling internet widgets. Some of us actually have more on the line if our systems fail or are not performant than "oooh our shareholders are gonna be pissed".

People running critical emergency response systems day in, day out.

The very system you typed this bullshit on is running native code. But oh no, thats "too hard" for the webdev crowd. Everyone should bend to accomodate them. The OS should be ported to run inside the browser, because the browser is "so good".

Good one. It's hilarious to see this Silicon Valley/Bay Area, chia-seed eating bullshit in cheap spandex riding their bikes while the trucks shipping shit from coast to coast passing them by.

◧◩◪◨
22. SPICLK+mP[view] [source] [discussion] 2026-02-03 13:09:42
>>icoder+fE
There's another benefit - you don't have to keep refactoring to keep up with "progress"!
replies(1): >>ioasun+Dz1
◧◩
23. falcor+nP[view] [source] [discussion] 2026-02-03 13:10:17
>>gbaldu+J1
> You reduce development effort by a third

Sorry to nitpick, but this should be "by three" or "by two thirds", right?

24. outime+KT[view] [source] 2026-02-03 13:36:22
>>gloosx+(OP)
>If "just build it natively" were actually easier, faster, or cheaper at scale, everyone would do just that.

Exactly. Years go by and HN keeps crying about this despite it being extremely easy to understand for anyone. For such a smart community, it's baffling how some debates are so dumb.

The only metric really worth reviewing is resource usage (and perhaps appearance). These factors aren't relevant to the general population as otherwise, most people wouldn't use these apps (which clearly isn't the case).

◧◩◪◨
25. angiol+qU[view] [source] [discussion] 2026-02-03 13:40:50
>>manuel+SE
Even if we assume a developer is actually 10x more productive with AI, if you triple their workload by having them build 3 native apps now you're only 3.33x more productive.
replies(1): >>kaffek+VE1
◧◩
26. eloisa+1Z[view] [source] [discussion] 2026-02-03 14:05:16
>>gbaldu+J1
The real question is how much better are native apps compared to Electron apps.

Yes that would take much disk space, but it takes 50Mb or 500Mb isn't noticeable for most users. Same goes for memory, there is a gain for sure but unless you open your system monitor you wouldn't know.

So even if it's something the company could afford, is it even worth it?

Also it's not just about cost but opportunity cost. If a feature takes longer to implement natively compared to Electron, that can cause costly delays.

replies(3): >>joefou+Ud1 >>super2+ht1 >>ngrill+Zj2
◧◩
27. Closi+u01[view] [source] [discussion] 2026-02-03 14:13:31
>>vintag+Iv
It's about consistency - you want to build an app that looks and functions the same on all platforms as much as possible. Regardless of if you are hand-coding or vibe-coding 3 entirely separate software stacks, getting everything consistent is going to be a challenge and subtle inconsistencies will sneak in.

It comes back to fundamental programming guidelines like DRY (Don't Repeat Yourself) - if you have three separate implementations in different languages for everything, changes will be come harder and you will move slower. These golden guidelines still stand in a vibe-code world.

◧◩◪
28. AdamN+A31[view] [source] [discussion] 2026-02-03 14:30:14
>>pimter+Bo
Yeah that's why startups often pick iOS first, get product-market fit, and then do Android. The fallacy that abstractions tout is that Android and iOS are the same.

They are not.

A good iOS app is not 1:1 equivalent to what a good Android app would be for the same goal. Treating them as such just gives users a lowest common denominator product.

◧◩◪◨
29. pydry+1d1[view] [source] [discussion] 2026-02-03 15:15:14
>>holmes+5j
That's like a luxury lumber company stuffing its showrooms full of ikea furniture.
◧◩◪
30. joefou+Ud1[view] [source] [discussion] 2026-02-03 15:19:00
>>eloisa+1Z
It absolutely is noticeable the moment you have to run several of these electron “apps” at once.

I have a MacBook with 16GB of RAM and I routinely run out of memory from just having Slack, Discord, Cursor, Figma, Spotify and a couple of Firefox tabs open. I went back to listening to mp3s with a native app to have enough memory to run Docker containers for my dev server.

Come on, I could listen to music, program, chat on IRC or Skype, do graphic design, etc. with 512MB of DDR2 back in 2006, and now you couldn’t run a single one of those Electron apps with that amount of memory. How can a billion dollar corporation doing music streaming not have the resources to make a native app, but the Songbird team could do it for free back in 2006?

I’ve shipped cross platform native UIs by myself. It’s not that hard, and with skyrocketing RAM prices, users might be coming back to 8GB laptops. There’s no justification for a big corporation not to have a native app other than developer negligence.

replies(1): >>Lwerew+jo1
31. knoopx+Me1[view] [source] 2026-02-03 15:23:28
>>gloosx+(OP)
the three OSes is BS, none of them cares about linux
◧◩◪◨
32. Lwerew+jo1[view] [source] [discussion] 2026-02-03 16:01:00
>>joefou+Ud1
On that note, I could also comfortably fit a couple of chat windows (skype) on a 17'' CRT (1024x768) back in those days. It's not just the "browser-based resource hog" bit that sucks - non-touch UIs have generally become way less space-efficient.
◧◩◪
33. super2+ht1[view] [source] [discussion] 2026-02-03 16:21:47
>>eloisa+1Z
Also, modern native UIs became looking garbage on desktops / laptops, where you usually want a high information density.

Just look at this TreeView in WinUI2 (w/ fluent design) vs a TreeView in the good old event viewer. It just wastes SO MUCH space!

https://f003.backblazeb2.com/file/sharexxx/ShareX/2026/02/mm...

And imo it's just so much easier to write a webapp, than fiddle with WinUI. Of course you can still build on MFC or Win32, but meh.

◧◩◪◨⬒
34. ioasun+Dz1[view] [source] [discussion] 2026-02-03 16:45:24
>>SPICLK+mP
Of course you do!

Microsoft makes a new UI framework every couple of years, liquid glass from apple and gnome has a new gtk version every so often.

replies(1): >>Leno12+fu6
◧◩◪◨⬒
35. kaffek+VE1[view] [source] [discussion] 2026-02-03 17:06:55
>>angiol+qU
No, you would be ten times as productive. You would ship three different apps 3,3 times faster than you previously only shipped one.

The productivity comparison must be made between how long it takes to ship a certain amount of stuff.

36. Gorbac+uH1[view] [source] 2026-02-03 17:19:45
>>gloosx+(OP)
Wouldn’t maintaining the different UI stacks be something a language model could handle? Creating a new front end where the core logic is already defined or making a new one from an existing example has gone pretty fast for me. The “maintenance“ cost might not be as high as you think.
◧◩◪
37. sideef+BS1[view] [source] [discussion] 2026-02-03 18:01:24
>>realus+NH
https://reactnative.dev/docs/out-of-tree-platforms says otherwise

React Native Skia allegedly runs on Linux too

replies(2): >>sideef+wV1 >>realus+222
◧◩◪◨
38. vlovic+PU1[view] [source] [discussion] 2026-02-03 18:09:34
>>mycall+QO
I mean the initial release of Qt predates JavaScript by a few months and CSS by more than a year. GTK is only younger by a few years and both remain actively maintained.

Argument feels more like FUD than something rooted in factual reality.

◧◩◪◨
39. sideef+wV1[view] [source] [discussion] 2026-02-03 18:12:01
>>sideef+BS1
React Native Skia seems abandoned. But maybe this will make React Native on Linux viable

https://github.com/gtkx-org/gtkx

◧◩◪◨
40. realus+222[view] [source] [discussion] 2026-02-03 18:35:04
>>sideef+BS1
React Native Skia last commit is three years ago.
◧◩◪
41. ngrill+Zj2[view] [source] [discussion] 2026-02-03 19:49:22
>>eloisa+1Z
I think the comparison between native apps and Electron apps is conflating two things:

- Native apps integrate well with the native OS look and feel and native OS features. I'd say it's nice to have, but not a must have, especially considering that the same app can run on multiple platforms.

- Native apps use much less RAM than Electron apps. I believe this one is a real issue for many users. Running Slack, Figma, Linear, Spotify, Discord, Obsidian, and others at the same time consumes a lot of memory for no good reason.

Which makes me wonder: Is there anything that could removed from Electron to make it lighter, similar to what Qt does?

◧◩◪◨
42. throwa+Q54[view] [source] [discussion] 2026-02-04 08:28:06
>>ttsala+5O
I agree. I also find it interesting that many developers don't mind using Docker to run Redis / Postgresql and other services on Mac that are very simple to install and run directly. That's fine, but then they don't get to complain about Electron.

There are valid use cases for Docker on those types of software, but most users just use Docker for convenience or because "everyone else" uses them. Maybe influenced by Linux users where Docker has lower overhead. It's convenient for sure, but it also has a cost on Mac/Windows

◧◩◪◨⬒⬓
43. Leno12+fu6[view] [source] [discussion] 2026-02-04 21:48:13
>>ioasun+Dz1
Microsoft gets largely pilloried on every UI rethink, Apple’s Liquid Glass just annoyed everyone I’ve heard comment on it, and, fwiw, YouTube Music asking if it feels outdated is an unnecessary annoyance.
[go to top]