News for hackers. Stuff that matters.
Re:Deno Desktop by jorisw on Monday June 22, 2026 @02:19AM (#48626430)
> Web technology is the most widely-known UI toolkit in the world.

Poor choice of words there IMHO.

The reason Electron apps get a lot of flak is because they are everything _but_ a UI toolkit. They consistently miss the mark in adopting UI patterns from their host OS.

Web tech is just web tech. Yes it will allow you to render a button, but even unstyled, the button won't necessarily look native to the OS, and will vary between browsers.

Re:Deno Desktop by Culonavirus on Monday June 22, 2026 @03:51AM (#48627077)
That is not why people use Electron. The goal is not and never was to just be a "UI toolkit" and "adopting UI patterns from their host OS".

Chromium has so much stuff packed into it, its insane. All that utility comes with Electron. And that's a good thing.

If you ever worked with video, for example, you know that having the full power of a modern browser in a desktop app is a game changer. Video playback (not to mention transcoding, which is also possible with modern web and webcodecs) is a complex beast, implementing that yourself is massive undertaking, not to mention in a desktop app that is supposed to work on win/mac/lin. I've built apps with Electron in tens of hours that would otherwise take me tens of days or more (and thats with AI because I'm not a video expert).

Re:Deno Desktop by kiicia on Monday June 22, 2026 @05:02AM (#48627645)
chromium is basically operating system at this point, it lacks kernel and ability to boot independently (added in chromium os), which is both good (from abilities standpoint) and bad (when copy of chromium is bundled with every app that renders webform with text field and button and nothing else)

when it goes about using webapps as desktop apps, native PWA support should be used, it would - in theory at least - lessen most issues electron apps have but will need extra effort and that's why we can't have nice things (like RAM free for other tasks)

Re:Deno Desktop by taffydavid on Monday June 22, 2026 @06:48AM (#48628434)
Chrome OS is literally an operating system that's 90% through chromium
Re:Deno Desktop by ignoramous on Monday June 22, 2026 @05:27AM (#48627848)
> chromium is basically operating system at this point

I get what you're trying to say, but Chromium is far from being an OS. What you could say is, Chromium is as complex as an OS, or is replacing the OS in providing functional libraries atop devices (OS-provided application framework, if you will).

Re:Deno Desktop by ayewo on Monday June 22, 2026 @08:02AM (#48629001)
You are correct. Notwithstanding, people have been expressing the gp's sentiment for like a decade now [1] as is evident in this sub-thread [2], so it's a losing battle trying to prevent people from making such comparisons.

1: 24-core CPU and I can’t move my mouse https://news.ycombinator.com/item?id=14733829

2: https://news.ycombinator.com/item?id=14736498

> Just as a data point - Chrome has more code than the linux kernel -

> It's an operating system (pretending to be a browser).

Re:Deno Desktop by Levitating on Monday June 22, 2026 @05:47AM (#48627987)
gstreamer is not that complicated
Re:Deno Desktop by veltas on Monday June 22, 2026 @08:12AM (#48629089)
Last time I checked there's a small industry of gstreamer contractors, so it's not that simple.
Re:Deno Desktop by TylerE on Monday June 22, 2026 @06:41AM (#48628377)
It has a really really crappy security record, though.
Re:Deno Desktop by TingPing on Monday June 22, 2026 @08:17AM (#48629138)
Those issues are typically from the decoding libraries you choose. Which could even be ffmpeg if you wish. GStreamer just provides a nice high level API.
Re:Deno Desktop by one33seven on Tuesday June 23, 2026 @05:34AM (#48642469)
Electron doesn't?
Re:Deno Desktop by conradludgate on Monday June 22, 2026 @02:35AM (#48626541)
How is it a poor choice of words? It might not be "native" UI, but they never claimed as such.

I've always felt that native UI on Linux always looks incredibly ugly and I'd much rather use a nicely styled HTML+CSS layout instead.

In my experience, Electron mostly gets flak for being bloated and slow, it not being native is sometimes a secondary point people add on top.

I've always wanted to build a direct-browser integration that could use HTML+CSS for the layout, but avoids needing a JS runtime. Idk how lightweight servo is but one day I hope I will see my idea come to light

Re:Deno Desktop by noufalibrahim on Monday June 22, 2026 @03:18AM (#48626841)
I don't mind the idea of using HTML components and widgets to style desktop applications. CSS and the DOM are widely known and reusing those for desktop apps is probably a good idea.

The problem, as you've pointed out, is that electron apps are bloated and slow. If they became the default and my editor, chat client, terminal, and everything else that I keep open were just thin layers around web applications, I'd rather figure out a way to move things into a browser rather than pull a piece of the browser out to wrap these applications.

Re:Deno Desktop by wiseowise on Monday June 22, 2026 @03:55AM (#48627107)
There’s a point where it stops scaling in the browser, whether it’s due to scale or poor practices. For example Slack is annoyingly slow to start up and work in my FF, but works OK as an Electron app.
Re:Deno Desktop by djxfade on Monday June 22, 2026 @05:13AM (#48627727)
This is pretty much what Tauri solves. It re-uses the systems WebView. So the built apps are tiny (kb to a few mb)
Re:Deno Desktop by nicoburns on Monday June 22, 2026 @09:16AM (#48629718)
> I've always wanted to build a direct-browser integration that could use HTML+CSS for the layout, but avoids needing a JS runtime. Idk how lightweight servo is but one day I hope I will see my idea come to light

Blitz (https://github.com/DioxusLabs/blitz) is exactly that. It's a new custom browser engine supporting standard HTML/CSS with a native Rust API (and optional integration with Dioxus which is a React-like UI framework in Rust). Baseline binary sizes are around 10mb.

We share a few components with Servo (Stylo the CSS engine (also shared with Firefox), and html5ever the HTML parser), but we've built a bunch ourselves too: notably we have our own layout engine, DOM tree and event handling. Servo is unfortunately tightly coupled with SpiderMonkey, and there is little prospect of removing that dependency in the short term.

Re:Deno Desktop by fireant on Monday June 22, 2026 @12:22PM (#48632289)
That's really nice. It would be really good for game GUIs too where the situation is quite poor and would work well with underlays/overlays/worldspace UIs. That said while binary size may be around 10mb, it still baloons to 500mb at runtime for your TODO list example which is more than some electron apps.
Re:Deno Desktop by nicoburns on Monday June 22, 2026 @12:55PM (#48632740)
Yeah, the RAM usage is quite high atm. The good news is that it's almost all the rendering layer (WGPU+Vello). So if we can make the renderer more efficient then it's likely we can bring that down. There is also some low hanging fruit in the DOM implementation (but I think that's only actually causing a few 10s of MB of usage).

I would also note that native toolkits (SwiftUI, etc) tend to also use at least ~100mb RAM these days. A lot of that is unavoidable if the app is actually visible, due to modern screen resolutions being so high.

Re:Deno Desktop by loaph on Monday June 22, 2026 @02:05PM (#48633669)
This isn't exactly what you were suggesting, but it made me think of https://hacks.mozilla.org/2026/02/making-webassembly-a-first... since that article is about not needing to go through js to use wasm.
Re:Deno Desktop by smackeyacky on Monday June 22, 2026 @03:43AM (#48627021)
Looking native has long left the station as an objection about a UI.

Like 25 years ago. Nobody gives a damn since Microsoft stopped giving a damn.

Re:Deno Desktop by vintermann on Monday June 22, 2026 @04:00AM (#48627156)
I'm not part of the Apple world, but I thought they gave a damn?
Re:Deno Desktop by jabwd on Monday June 22, 2026 @04:06AM (#48627202)
Nah they stopped caring as well. Developing an application for macOS is hell nowadays. I hate the state of things but both Apple and Microsoft dropped the ball. Linux is even worse, so yeah I don't see a reality out of this unless we actually create something that surpasses the web in all measures.
Re:Deno Desktop by DonHopkins on Monday June 22, 2026 @04:50AM (#48627558)
Liquid Glass says no, they don't give a flying fuck any more.
Re:Deno Desktop by latexr on Monday June 22, 2026 @11:30AM (#48631619)
Liquid Glass proves they do care (otherwise they wouldn’t have gone to the trouble), they’re just bad at it now.
Re:Deno Desktop by yurishimo on Monday June 22, 2026 @04:57AM (#48627607)
Depends on the tool. We (mac people) tend to prefer native toolbars and settings menus, but I would say the days of relying on a "native" textarea or button are now behind us.

The other thing I find most Mac people appreciate is a shared understanding of hotkeys and if your app goes against the norm, one of the first feature requests will be to add configurable hotkey support.

Unfortunately, Apple has dropped the ball with their newest native apps in regards to UX and it will take years for them to go back and improve things. The new OS this fall is aiming to start that process, but it will still be a band-aid in some respect.

Re:Deno Desktop by LunaSea on Monday June 22, 2026 @03:59AM (#48627141)
Who cares if it looks native?

Native UIs change all the time too and not always for the better.

Re:Deno Desktop by jorisw on Monday June 22, 2026 @05:08AM (#48627694)
Change over time is something different from apps looking vastly different at any given time.
Re:Deno Desktop by valleyer on Monday June 22, 2026 @07:14AM (#48628638)
Unfortunately nowadays even the built-in apps on the major desktop OSes are inconsistent, so the temptation for third-party apps not to care is somewhat understandable.
Re:Deno Desktop by Levitz on Monday June 22, 2026 @07:40AM (#48628822)
I change clothes all the time too, still match the pieces of clothing each time.

There's aesthetic value to coherence. There's also design, usability value. I have Telegram, Steam and Firefox opened right now and each one of them displays different minimize/maximize/close buttons on the top right. That's not ideal.

Re:Deno Desktop by LunaSea on Monday June 22, 2026 @09:01AM (#48629591)
So if you already wear clown shoes does that mean that you have to wear only clown costumes?
Re:Deno Desktop by Levitz on Monday June 22, 2026 @06:32PM (#48637275)
Someone who is in full clown costume looks less ridiculous than someone who wears clown shoes and is otherwise dressed "normally", yes.
Re:Deno Desktop by Abishek_Muthian on Monday June 22, 2026 @02:40AM (#48626562)
Every time I use Zed across Linux, macOS and Windows , I'm amazed stable and performant it's GPUI framework is. As a user, I'm very happy with it; of course some basic features like accessibility is missing but I'm sure it will be implemented soon.

As a developer, I'm not sure what's the barrier for entry is apart from Rust then again it's the USP as well.

Re:Deno Desktop by fny on Monday June 22, 2026 @02:59AM (#48626694)
Live reload. GUI development in compiled languages is a pain compared to web development.
Re:Deno Desktop by eklavya on Monday June 22, 2026 @03:06AM (#48626750)
Try dioxus, it has live reload but it's a work in progress.
Re:Deno Desktop by ga_to on Monday June 22, 2026 @03:45AM (#48627032)
Dioxus seems to be 'just' another way to generate HTML on the desktop. Electron but Rust? Is there a legitimate upside there?
Re:Deno Desktop by neobrain on Monday June 22, 2026 @04:14AM (#48627254)
With Dioxus, program logic compiles to native code instead of running it through a JS engine, and it ships its own HTML renderer (Blitz) instead of bundling a whole browser. So it's a lot more lightweight and performant than Electron.

As a minor bonus, the live-reload is also faster than what frameworks like React do. It truly has subsecond latency, which isn't exactly a game changer but is nice when iterating on visual details of an app.

Re:Deno Desktop by Abishek_Muthian on Monday June 22, 2026 @04:51AM (#48627569)
Sounds similar to Wails. It does the same but with Go instead of Rust.
Re:Deno Desktop by opem on Monday June 22, 2026 @09:58AM (#48630227)
I don't think so, wails is more like tauri rather than diouxus
Re:Deno Desktop by nicoburns on Monday June 22, 2026 @09:21AM (#48629779)
We now also have a custom GPU renderer (Blitz), which makes Dioxus more comparable to Flutter or the other Rust GUI toolkits (GPUI, Iced, etc).
Re:Deno Desktop by soanvig on Monday June 22, 2026 @05:11AM (#48627714)
For me it's not stable. After they change their renderer from one to another it freezes for me from time to time. But on the other hand I'm running Nvidia on Wayland so I feel no hate towards Zed owners - and restart is super quick ;)
Re:Deno Desktop by Abishek_Muthian on Monday June 22, 2026 @05:17AM (#48627761)
Interesting, I'm on Nvidia in Wayland most of the time too and haven't had single freeze or crash in a very long time. Even the Windows is running inside the Qemu.

What DE? I'm on KDE.

Re:Deno Desktop by oblio on Monday June 22, 2026 @05:18AM (#48627777)
> basic features like accessibility is missing but I'm sure it will be implemented soon.

Accessibility implementations frequently are more complex than the entire UI drawing bits. Most custom UI toolkits never implement accessibility, even decades after creation.

That hope is misplaced.

Re:Deno Desktop by Abishek_Muthian on Monday June 22, 2026 @05:24AM (#48627827)
I agree about the complexity, but the core developers understand that the accessibility support is crucial and that's where my hope comes from.

[1] https://github.com/zed-industries/zed/discussions/6576

Re:Deno Desktop by oblio on Monday June 22, 2026 @06:46AM (#48628411)
That's good news, but I would continue the timer there. That issue is from March 2023 so the counter is at 3 years, 3 months. Let's see if they have anything decent before 10 years.
Re:Deno Desktop by wiseowise on Monday June 22, 2026 @03:52AM (#48627091)
> Web tech is just web tech. Yes it will allow you to render a button, but even unstyled, the button won't necessarily look native to the OS, and will vary between browsers.

The irritating, and unnecessary, pedantry.

Re:Deno Desktop by nnevatie on Monday June 22, 2026 @04:39AM (#48627468)
Indeed. Even Qt isn't native, in the most purist sense.
Re:Deno Desktop by utopiah on Monday June 22, 2026 @02:26AM (#48626480)
> look native to the OS

Is that a problem? A button with a legible label is a button. The host OS doesn't have to look exactly like the applications it runs.

Re:Deno Desktop by jorisw on Monday June 22, 2026 @02:32AM (#48626524)
Consistency is a large factor in any good design, UI design more so.
Re:Deno Desktop by gf000 on Monday June 22, 2026 @03:31AM (#48626937)
Consistent like what? Like maybe a decade ago one could say that osx was consistent, but nowadays even SwiftUI and cocoa is visibly different, let alone every second app that uses electron. And people don't care.

Windows has like 4 frameworks available on a bare new, latest OS install, just go deep enough in the "settings" or whatever they call it, and you can reach down to winforms. And on top the start menu is a react element!

(And in Linux you have the gtk and the qt world, and everything else)

Re:Deno Desktop by jorisw on Monday June 22, 2026 @05:04AM (#48627669)
> SwiftUI and cocoa is visibly different

Do they render different looking buttons?

Re:Deno Desktop by Gigachad on Monday June 22, 2026 @02:37AM (#48626547)
They have internal consistency. The iOS version looks like the macos version which looks like the web version, etc.

This upsets HN users but the rest of the world decided that apps looking like windows built ins doesn't matter.

Re:Deno Desktop by ahartmetz on Monday June 22, 2026 @02:53AM (#48626645)
It's more like developers decided - nobody asked the users.
Re:Deno Desktop by debazel on Monday June 22, 2026 @03:19AM (#48626851)
ironically the only group of users I've found that actually care about native UI, are other developers and Mac purist.
Re:Deno Desktop by ahartmetz on Monday June 22, 2026 @03:31AM (#48626940)
I have seen users having trouble with pixel soup UIs. They may not think "This should be in a native toolkit", but they do think "How the hell do I subscribe to a folder in the new Outlook?".
Re:Deno Desktop by Gigachad on Monday June 22, 2026 @04:18AM (#48627276)
The problem in these usability cases is pretty much always layout and constant redesigns rather than the exact theme the button has. I've seen plenty of unusable native ui soup UIs and very clean and simple custom UIs.
Re:Deno Desktop by ahartmetz on Monday June 22, 2026 @04:35AM (#48627423)
You could call it the exact theme when a clickable UI element looks just like regular text (it was not inside any kind of button-like shape in the Outlook case that I saw), but it's super common to have that in web-based UIs.
Re:Deno Desktop by ahartmetz on Monday June 22, 2026 @10:23AM (#48630564)
(And of course, nobody changed any theme in the outlook case)
Re:Deno Desktop by whizzter on Monday June 22, 2026 @04:07AM (#48627213)
Right, but bad UI's was not uncommon before webviews, if anything the spartan-ness of the web often simpified patterns whilst reliance on weird hotkeys in desktop apps isn't uncommon.
Re:Deno Desktop by ahartmetz on Monday June 22, 2026 @08:49AM (#48629478)
>reliance on weird hotkeys in desktop apps isn't uncommon

The only examples I can think of are actions that are intentionally not easy to reach. How exactly it's done is platform-specific, but the (mis)feature doesn't come from the platform and can be implemented in other ways on other platforms.

- Apple UIs hide some power user functionality behind obscure hotkeys

- Similar: Shift-Delete to permanently delete (Windows, KDE) - Similar: Shift-right click to "Open With..." (Windows, KDE)

- In desktop apps that FOR SOME REASON try to look more like web apps, the hidden menu bar can be restored with Alt or Alt-M (Firefox, KDE)

Re:Deno Desktop by lonelyasacloud on Monday June 22, 2026 @11:12AM (#48631310)
> ironically the only group of users I've found that actually care about native UI, are other developers and Mac purist.

One group of people who routinely carry the can for poor product usability and another who by definition care about the Mac platform; entirely what would be expected.

Re:Deno Desktop by eterevsky on Monday June 22, 2026 @03:31AM (#48626943)
Within OS consistency is much less of thing a thing than Web design conventions. Windows by itself has had several different UI frameworks over the years, so different "native" Windows programs can look completely different from each other.
Re:Deno Desktop by oneeyedpigeon on Monday June 22, 2026 @05:13AM (#48627731)
> Within OS consistency is much less of thing a thing than Web design conventions.

Sorry, are you saying that two random web apps will typically share more UI consistency than two random Windows apps? Because, although I'm not currently familiar with Windows, I would be amazed if that were true.

Re:Deno Desktop by p-e-w on Monday June 22, 2026 @03:28AM (#48626913)
That’s why HN users constantly advocate for Vim, a program in which every single thing works completely differently from every other modern application.
Re:Deno Desktop by vintermann on Monday June 22, 2026 @04:03AM (#48627176)
Yes, if there's one lesson from historical UI research that still holds, it's that mode switching is expensive. That's why people install vi plugins everywhere.

Wait...

Re:Deno Desktop by p-e-w on Monday June 22, 2026 @07:08AM (#48628593)
Vi plugins don’t even exist for the vast majority of applications.
Re:Deno Desktop by vintermann on Monday June 22, 2026 @12:37PM (#48632504)
The last resort is to switch to ROU mode (key combo for entering it is :wq)
Re:Deno Desktop by m-schuetz on Monday June 22, 2026 @04:33AM (#48627404)
Consistency is the reason why Electron is great. Consistency of the UI across operating systems.
Re:Deno Desktop by d12bb on Monday June 22, 2026 @05:01AM (#48627636)
Great for the developer. The user doesn’t use Mac, Windows and Linux. Just one for work and one at home, with mostly different apps, so they couldn’t care less if it looks the same on different platforms.
Re:Deno Desktop by m-schuetz on Monday June 22, 2026 @05:28AM (#48627851)
They may care, however, if they get anything at all. I do not have the resources to target something to all platforms, so the alternative wouldn't be "Users get UI targeted towards their OS", the alternative would be "Users get nothing since developers don't have the time to also target their system".
Re:Deno Desktop by jorisw on Monday June 22, 2026 @05:55AM (#48628045)
> I do not have the resources to target something to all platforms

Some speculate that agentic engineering will enable the return of native apps

Re:Deno Desktop by skydhash on Monday June 22, 2026 @09:48AM (#48630106)
> I do not have the resources to target something to all platforms

What resources is actually needed? More often than not it just requires good engineering. You do not have to duplicate everything across platforms.

Re:Deno Desktop by m-schuetz on Monday June 22, 2026 @11:14AM (#48631349)
Time. I have the time to maintain a single GUI. I do not have the time to maintain three GUIs. Of course they'll be 99% the same, but checking that this 1% difference behaves and looks fine accross systems adds a substantial amount of effort that I simply can not support. And for what exacatly? I want them to be identical accross systems, not different.
Re:Deno Desktop by skydhash on Monday June 22, 2026 @11:26AM (#48631558)
> And for what exacatly? I want them to be identical accross systems, not different

For your users. Engineering is about designing things for the convenience of the builder, but for the convenience of the user.

Re:Deno Desktop by jorisw on Monday June 22, 2026 @04:54AM (#48627592)
If you think operating systems have nothing to offer in terms of UI patterns or guidance, then yes, that's a different type of consistency.
Re:Deno Desktop by DonHopkins on Monday June 22, 2026 @05:00AM (#48627628)
A foolish consistency with terribly designed shallow superficial desktop user interfaces dreamed up by overpaid cocaine addled corporate boutique brand designers with not only no experience but actual burning contempt for usability and human factors and accessability and affordances is the hobgoblin of little minds.

https://daringfireball.net/2025/12/bad_dye_job

Re:Deno Desktop by jorisw on Monday June 22, 2026 @05:07AM (#48627684)
Yes, Dye botched [mac/i/tv/etc]OS 26.

That doesn't say anything about the value of whatever UI kit is in place, being shared consistently by apps. A virtue that, apparent from this thread, is no longer universally shared.

Re:Deno Desktop by port11 on Monday June 22, 2026 @05:10AM (#48627705)
OS-level consistency is also consistency. It depends what we value. A lot of apps’ design could’ve been basic, OS-like UI. Apps such as GymBook or WhatsApp are internally consistent while still adopting many elements from the system’s design, instead of reinventing the wheel.
Re:Deno Desktop by oneeyedpigeon on Monday June 22, 2026 @05:11AM (#48627719)
There are two types of consistency in this context: consistency within an OS and consistency across them. I, too, prefer the first because I only really use one OS, but this preference varies. I don't think it's right to say that the first case = "ui toolkit", but the second case doesn't.
Re:Deno Desktop by jorisw on Monday June 22, 2026 @05:19AM (#48627780)
Consistency as a design virtue applies to a single user's experience. This means consistency within the OS.
Re:Deno Desktop by wilg on Monday June 22, 2026 @02:24AM (#48626466)
None of that changes whether it's a UI toolkit, which it surely is.
Re:Deno Desktop by pjmlp on Monday June 22, 2026 @02:41AM (#48626570)
Yeah, it is mostly laziness and cost cutting at the expense of users.

Nowadays there isn't even an excuse anymore, just vibe code it away in native frameworks.

Re:Deno Desktop by gf000 on Monday June 22, 2026 @03:27AM (#48626909)
Which native framework?

Even in a "post-vibe code" era I wouldn't want to create multiple versions of the same app, and none of the "platform-native" GUI toolkits run on everything.

SwiftUI is apple-only, gtk has pretty bad compatibility on non-linux, qt is decent but requires C++ or python, and even so still not much for mobile. Don't even get started on "Windows frameworks", because as I write this sentence they may have left a new one in the ditch.

Flutter may be the closest, but why didn't they go with e.g. Java instead of a new language?

So yeah, if you want a truly universal UI then web is your best bet.

Re:Deno Desktop by jorisw on Monday June 22, 2026 @04:58AM (#48627612)
> if you want a truly universal UI

Right. If you want your app to look the same, custom way, ditching what the OS has to offer.

Some developers still believe an operating system has useful UI components and patterns worth adopting. From this thread it's clear that there's plenty who don't. Personally I view that as a regression.

Re:Deno Desktop by gf000 on Monday June 22, 2026 @07:23AM (#48628698)
Well, maybe Java's AWT has been correct all this time.

Of course there is value in having "OS-native" buttons, transitions, windows etc. And many parts of GUIs are basically standardized. The problem is all the parts that are not, and have to look the same everywhere.

Re:Deno Desktop by actionfromafar on Monday June 22, 2026 @06:11AM (#48628170)
Probably many Electron users also view that as a regression, but a tradeoff worth making.
Re:Deno Desktop by lmm on Tuesday June 23, 2026 @02:36AM (#48641177)
The OS-component-oriented approach was defensible in the days of desktop only (though personally I think it was a mistake even then), but it's not sustainable now. People want your app on their PC to look and behave like your app on their phone (whichever combination of PC and phone they happen to have), and that's a lot more important to them than having it look and behave like other apps on their PC.
Re:Deno Desktop by wolvesechoes on Tuesday June 23, 2026 @03:35AM (#48641591)
> People want your app on their PC to look and behave like your app on their phone (whichever combination of PC and phone they happen to have), and that's a lot more important to them than having it look and behave like other apps on their PC.

They don't. No one generates GBs of simulation data and create plots on their phones, and this is what "app" I am working on is doing.

Re:Deno Desktop by lmm on Wednesday June 24, 2026 @04:16AM (#48656767)
Many times I've thought "what kind of idiot would try to use our app on a phone?" only to find one of our execs was doing exactly that, but YMMV I guess.
Re:Deno Desktop by gen2brain on Monday June 22, 2026 @09:23AM (#48629789)
How about something like this https://github.com/gen2brain/iup-go? Still not released, but I plan to clean all todos in the next few weeks.
Re:Deno Desktop by pjmlp on Monday June 22, 2026 @09:41AM (#48630007)
The one which OS has to offer.

Web is bad everywhere outside of the browser.

Re:Deno Desktop by gf000 on Monday June 22, 2026 @09:46AM (#48630080)
I want to have both linux and mac users (but maybe also android, ios, windows).

You clearly see the issue.

Re:Deno Desktop by pjmlp on Monday June 22, 2026 @11:39AM (#48631749)
When I started programming, one had to repeat in Assembly the same application for each computer brand.

We are not that bad nowadays, it is a skill issue.

There are plenty of ways to have portable applications with native UIs without shipping a browser.

Somehow we managed to do it for decades and without AI writing the code for us.

If you want to ship a browser, I already have one, thus standard Web, with a daemon if it really must be.

Re:Deno Desktop by gf000 on Monday June 22, 2026 @01:18PM (#48633015)
I agree on the standard web point, but you still failed to reply to what is a native UI for every OS.

Portable frameworks exist, but they are at most native to a single platform.

Re:Deno Desktop by skydhash on Monday June 22, 2026 @09:50AM (#48630138)
> You clearly see the issue

I don’t. VLC is available everywhere, so your requirement is clearly not a problem. Jetbrains is available on all major desktop OS.

Re:Deno Desktop by gf000 on Monday June 22, 2026 @10:43AM (#48630872)
Well, getting a hardware-accelerated blank buffer onto a screen to render video content is hardly the epitome of graphical user interfaces. VLC has very few and basic UI elements.

Jetbrains is a better example, using Java with Swing which is not a common choice. As seen from my other comment, I do think this is a good direction, but it ain't any more native than Flutter or for what it's worth an Electron app, none of these are "what the OS provide". FYI Jetbrains has to do quite a few platform-specific tweaks to make them better citizens on each platform.

Re:Deno Desktop by skydhash on Monday June 22, 2026 @12:26PM (#48632350)
Portable applications is not a recent need. The only requirement is to have a standardize interface and an implementation for each of the platform. Where you put that interface is an engineering skill.

VLC went with QT (which has done all the hard work) for the UI, and their own libraries for the media playing part. Other software like Emacs and sublime has implemented their own UI libraries. Some just ship libraries and others build UI for them.

The issue with Electron is that it brings a whole jungle and a gorilla holding the single banana that the devs actually need. And the dev flung the whole thing at the users. It's like establishing an iron mine, a steel factory and then pollutes the whole region when building a quick stone bridge would do. Because the only thing you know are suspension bridges.

Re:Deno Desktop by chem83 on Monday June 22, 2026 @11:56AM (#48631985)
VLC is not the example you're looking for. Written in Qt for desktop and their own libVLC wrapper for mobile. Yes, in the case of VLC, parent comment is right: you clearly see the issue. And a media player is a relatively uncomplicated piece of software, UI wise.
Re:Deno Desktop by ogoffart on Monday June 22, 2026 @11:30AM (#48631625)
one missing from that list: Slint, which i work on. runs on Linux, Windows, macOS and embedded, with app logic in Rust, C++, Python or JS.

You can use JS but it doesn't ship a browser engine, it renders with its own lightweight toolkit.

Re:Deno Desktop by kajman on Monday June 22, 2026 @03:31AM (#48626942)
I never thought I'd defend Electron, but I'd rather use the bloated web UI than a vibe coded Qt/GTK version I'm positive will not have seen any human QA.
Re:Deno Desktop by DonHopkins on Monday June 22, 2026 @04:45AM (#48627520)
But GIMP! /s
Re:Deno Desktop by ThatMedicIsASpy on Monday June 22, 2026 @03:08AM (#48626770)
When I can modify my desktop/theme (KDE) with css I will happily start doing it since that sounds easy.
Re:Deno Desktop by Zetaphor on Monday June 22, 2026 @03:17AM (#48626831)
Re:Deno Desktop by d12bb on Monday June 22, 2026 @05:04AM (#48627659)
Styling every application independently because it’s all individual Electron UI without a shared toolkit is much better indeed…
Re:Deno Desktop by m-schuetz on Monday June 22, 2026 @04:35AM (#48627427)
I have better things to do than spend my time adopting UI for various different systems. If Electron gives me the option to easily create a UI that looks the same everywhere, then I'll pick Electron over anything else any day.
Re:Deno Desktop by LtWorf on Monday June 22, 2026 @08:00AM (#48628983)
I'm completely sure your software is an accessibility nightmare.
Re:Deno Desktop by m-schuetz on Monday June 22, 2026 @04:29AM (#48627369)
> They consistently miss the mark in adopting UI patterns from their host OS.

What you suggest is a disadvantage is one of the key advantages of Electron to me. I precisely do not want my things to look different on different OS. I don't have the resources to test my apps on all devices, and knowing that whatever I test on one system looks the same on another is A+.

Re:Deno Desktop by jorisw on Monday June 22, 2026 @05:03AM (#48627657)
That's an advantage to you. Not necessarily to your users.
Re:Deno Desktop by Klonoar on Monday June 22, 2026 @06:33AM (#48628314)
Users don't actually give a shit.

This is a techie complaint, and that's opting for a charitably nice description.

Re:Deno Desktop by skydhash on Monday June 22, 2026 @09:39AM (#48629975)
> Users don't actually give a shit.

Have you ever had a job as a tech support? If not, you don’t have anything to say.

People do complain about inconsistent UX. Especially when it does not behave like the platform it’s on.

Re:Deno Desktop by Klonoar on Tuesday June 23, 2026 @01:26AM (#48640671)
Yeah, I've done that job countless times in my 20 year career.

Knock it off already.

Re:Deno Desktop by m-schuetz on Monday June 22, 2026 @05:26AM (#48627834)
The alternative is not that users get a UI specific for their OS, it is that users get nothing since I do not have the resources to develop for multiple systems. So yes, it is also an advantage to users.
Re:Deno Desktop by DonHopkins on Monday June 22, 2026 @04:32AM (#48627391)
Since when did anyone ever complain that youtube, google maps, roblox, or any other web sites didn't have native buttons and UI patterns?

Are you implying that the Windows, Mac, and Linux native desktop user interfaces don't all totally suck??! Or that there wasn't a huge celebration when Alan Dye finally left Apple for Meta? Or that users are clamoring for Jony Ive's infamous shallow superficial visual elegance over affordance and discoverability and usability?

Is it just too confusing for people to use youtube because the buttons don't look and feel exactly like native Mac buttons on the Mac and native Windows buttons on the Windows and whatever the kids are using on Linux desktops these days, therefore nobody uses youtube, and that it will only ever get popular if it just had a native look and feel?

Re:Deno Desktop by jorisw on Monday June 22, 2026 @05:01AM (#48627637)
Basically you're saying websites are the same as apps, and whether they're used in the browser or as a desktop app, the UI is fine to ditch that of the OS. Fine if you think so. I'll be sad to see OS and apps diverge completely in terms of UI.
Re:Deno Desktop by d12bb on Monday June 22, 2026 @05:07AM (#48627686)
YouTube succeeds for its content. Its UI is hot garbage both in the web and their apps. Google Maps is an atrocity and I’m very thankful Apple has decent data where I live. Roblox I don’t know, other websites I consume mostly in Reader mode.
Re:Deno Desktop by raincole on Monday June 22, 2026 @04:35AM (#48627416)
> UI patterns from their host OS

I genuinely wonder who ever want that, and what apps those people use on their PC. Can you imagine, for example, Blender Foundation says that their next goal is to make Blender's UI look more like the host OS?

Re:Deno Desktop by rjrjrjrj on Monday June 22, 2026 @10:41AM (#48630845)
I have used Blender just a bit, but it was very jarring when I first opened it and discovered that it has its own menu bar within the window, rather than at the top of the screen. It has its own save/open window rather than using the system-provided one, as nearly all truly native Mac apps do. I doubt most Mac users like this.

I have somewhat more experience with QGIS. It has a standard Mac menu bar, but the icons are inelegant and Windows-ish, window layouts are Windows-ish, dialogs don't behave correctly in Mac full screen mode. It could use a MacOS glow-up.

I think Visual Studio Code (native menu bar, native save/open, but a core UI kind of unto itself that is consistent across Mac and Windows) does a better job of balancing cross-platform vs native.

And then there's the approach taken by Adobe and Microsoft Office. These apps do a much better job of adopting native platform appearance and conventions (sometimes at the expense of application consistency across platforms).

Re:Deno Desktop by MoonWalk on Monday June 22, 2026 @01:40PM (#48633281)
So... it has a menu bar where it belongs: on the application's main frame. But yes, that'll be jarring for Mac users, who have suffered a single menu with split-personality disorder for far too long.

As for the common dialogs, I agree with you. There's no better example of why you should stick with common dialogs than the shitshow that is Microsoft Office. The file-save... thing is mind-bogglingly bad. It looks like a hastily-thrown-together debug screen. You have no idea what you're looking at. The fields are primitive, unnecessarily-huge box outlines. There's no treeview to show you where you're working in the filesystem. There's a big list of what, history? Why?

Garbage.

Re:Deno Desktop by resonious on Monday June 22, 2026 @05:16AM (#48627758)
At this point the only OS with a consistent look and feel at all is Mac. For the other OSes, I don't even know what a "native" look and feel would be. And most apps have their own branding and style they want to tout anyway. So I don't think "apps should look native" is the leading reason to not use Electron.

For me, the leading reason to use Electron is the fact that I already have a browser running so why not just use that to render your webpage... Make it a PWA if you want it in its own window.

Re:Deno Desktop by jorisw on Monday June 22, 2026 @05:22AM (#48627808)
> Make it a PWA if you want it in its own window.

Seems like I'm part of a shrinking minority (in this thread at least) who believes that web[sites/apps] in a browser, and apps running on the host platform, are different things in terms of UX expectations.

Re:Deno Desktop by devy on Monday June 22, 2026 @05:15PM (#48636310)
> At this point the only OS with a consistent look and feel at all is Mac.

Apparently, NOT! Apple's controversial Liquid Glass UI disrupted their long-standing Human Interface Guidelines by prioritizing cinematic aesthetics (transparency, refractions, and blur) over core tenets like readability, contrast, and content deference. Critics highlight that transparent, light-bending panes frequently clash with underlying wallpapers or videos, causing text and buttons to become illegible. This is a HOT topic in recent WWDCs and amongst UI designers.[1]

[1] https://blog.prototypr.io/why-apples-liquid-glass-design-is-...

Re:Deno Desktop by stared on Monday June 22, 2026 @06:10AM (#48628157)
Tauri is getting traction in the meantime.

A non-native UI has some issues, but also one clear advantage - it is easier to make a cross-system app with the same looks.

Re:Deno Desktop by duped on Monday June 22, 2026 @11:30AM (#48631615)
Tauri is a good way of packaging offline PWAs. It kind of sucks for building proper applications. The entire model for integrating with a local backend is just bonkers (no, I don't want my local application to pretend to be a web server - it's not a web server, I want to give you actual host bindings and share memory).
Re:Deno Desktop by divan on Monday June 22, 2026 @06:28AM (#48628276)
This. It's nuts how the whole industry accepts that typesetting engine from 80s with bunch of hacks on top is currently dominating cross-platform UI development.
Re:Deno Desktop by veber-alex on Monday June 22, 2026 @09:16AM (#48629720)
Nobody cares about this anymore.

On Windows you have 20 different ways to write native apps that all look different.

On Linux you have Qt/GTK and god knows what else.

Only macOS is somewhat consistent although with Liquid Ass it's also getting worse.

Re:Deno Desktop by xboxnolifes on Monday June 22, 2026 @03:06PM (#48634574)
I understand historical usage of the term with regards to desktop, but im unsure how you could consider HTML, CSS, JS, and runtime as anything other than a UI toolkit. They control the layout, styling, and actions of a UI.