News for hackers. Stuff that matters.
Re:Every Windows 11 app should kill Electron, and Discord ju... by Grombobulous on Saturday November 07, 2026 @08:35AM (#50404427)
The article at least indirectly addresses that.

At the time Electron came out, there weren’t as many cross-platform UI frameworks available that they could have gone with.

You can see this with the comparison chart. GPUI effectively replaced Electron so the desktop app UI works across platforms. React Native is replaced with WebAssembly so that Rust can be the primary language across all platforms including mobile.

It seems like the new situation for Discord is rather elegant, and that none of this would have been available when it first came out.

Re:Every Windows 11 app should kill Electron, and Discord ju... by AlienRobot on Saturday November 07, 2026 @09:02AM (#50404609)
Why https://gpui.rs/ doesn't have a single screenshot of how it actually looks?

The first thing anyone would want to know when choosing a GUI framework is how it looks by default. Every major GUI toolkit has screenshots on their websites.

This happens so often it makes me wonder if people just don't know how to take a screenshot and put it in a webpage with <img>.

Re:Every Windows 11 app should kill Electron, and Discord ju... by Grombobulous on Saturday November 07, 2026 @09:10AM (#50404689)
Probably because it's not meant to be like Bootstrap.js where everyone's UI looks identical?
Re:Every Windows 11 app should kill Electron, and Discord ju... by small_scombrus on Saturday November 07, 2026 @09:13AM (#50404703)
Even still, some screenshots of here's something we made earlier are always nice to see what's possible
Re:Every Windows 11 app should kill Electron, and Discord ju... by AlienRobot on Saturday November 07, 2026 @09:22AM (#50404779)
Even imgui has screnshots.
Re:Every Windows 11 app should kill Electron, and Discord ju... by thisismyanon2 on Sunday November 08, 2026 @02:47AM (#50411222)
gpui is meant to be a fairly low level library. If you want screenshots check out zed, but be aware that for many use cases you'll have to roll your own widgets.

gpui-kit (formerly gpui-component) provides a richer set of widgets and a Javascript shell. Screenshots can be found here:

https://github.com/longbridge/gpui-kit/discussions/989

Re:Every Windows 11 app should kill Electron, and Discord ju... by rstat1 on Saturday November 07, 2026 @05:45PM (#50408748)
Click either of the 2 links at the top right of the page, and you get screenshots of GPUI apps.
Re:Every Windows 11 app should kill Electron, and Discord ju... by jenadine on Saturday November 07, 2026 @10:10AM (#50405206)
GPUI works well for Zed, but it's built for Zed's needs only. There is no official crates.io udates. Breaking changes land as Zed needs them, and outside PRs often get declined causing a mess of several forks.
Re:Every Windows 11 app should kill Electron, and Discord ju... by sbarre on Saturday November 07, 2026 @06:56PM (#50409196)
Herdr's new native app uses GPUI for it's mod framework, so hopefully as more apps adopt it, a better community/package/release process builds around it.
Re:Every Windows 11 app should kill Electron, and Discord ju... by braiamp on Saturday November 07, 2026 @07:20PM (#50409365)
GPUI/Zed devs are trying to contact discord to see what can be improved:

> Hi Stanislav, I'm one of the core maintainers for GPUI at Zed, if anyone at discord would like to talk to us about improvements to the framework or to upstream your customizations, please get in touch! My DMs should be open :)

https://twitter.com/radgendervibes/status/211810701651020193...

Re:Every Windows 11 app should kill Electron, and Discord ju... by thiht on Sunday November 08, 2026 @07:09AM (#50412572)
Honestly GPUI feels like the closest thing we have to a working UI framework for Rust. That's probably because GPUI is not developed in a vacuum, it actually needs to work at Zed's scale because they ship a real product and GPUI needs to deliver.

I'm very excited to see GPUI extended for general purpose usages in the future.

Re:Every Windows 11 app should kill Electron, and Discord ju... by pjmlp on Saturday November 07, 2026 @03:05PM (#50407558)
I love when folks complain about C++ in stuff like Qt, and then write C++ addons on Electron apps, to make them actually get an usable performance.