Top
Best
New

Posted by xvilka 10/27/2025

Rust cross-platform GPUI components(github.com)
515 points | 218 commentspage 3
brainless 10/27/2025|
This looks very good from the screenshots. I will try this as quickly as I can. I have been building with egui and have tried Iced, Slint and Makepad.

I built (agentic coded) a stocks viewer app for Indian stock market data: https://github.com/brainless/Indistocks. It was a fantastic experience as to how easily I could build a GUI app.

My main product also uses egui: https://github.com/brainless/nocodo. It used to have a web app frontend and I moved to desktop app after the experiment with Indistocks. The experience has been really good, also coded with agents.

Desktop apps are fun and even on my somewhat old and slow laptop (i5 8th gen, 16 GB RAM, 2GB nvidia dedicated graphics), they are so much faster than web apps on Chrome (on Linux). I want desktop apps to make a big comeback, we could use so many old devices.

h4ch1 10/27/2025||
GPUI and GPUi components are the two things I'm watching very closely while evaluating truly native GUI development.

Still waiting to see more general use before attempting to port my Svelte UI for a Tauri application but it honestly looks incredible.

Big ups to the guy(s) at Longbridge.

ape4 10/27/2025||
A link to toolkit (GPUI) since I don't see it mentioned... https://www.gpui.rs/
ruguo 10/27/2025||
It does look pretty solid, but whenever I’m building a desktop app with Rust, Tauri is always the first thing that comes to mind.
shmerl 10/28/2025||
So how would it work on Linux let's say, it would need its own theming to match system look and feel of existing DE?
gnarlouse 10/27/2025||
So how stupid am I for asking how long it is before this is available in the browser and all the DOM behavior is WASM?
h4x0rr 10/27/2025||
Hola, finally a good rust ui framework that's not dependent on web
Ygg2 10/27/2025|
You mean outside iced, slint, egui, etc. ?
cultofmetatron 10/27/2025||
it happens to be my birthday today and this is one hell of a birthday present right now. been itching to dive into making a desktop app in rust and this looks amazing!
UndyingHorse 10/27/2025|
Why is the average binary size 10MB? Does it embed ICU data?
nicoburns 10/27/2025||
I can't speak for GPUI specifically, but in general for Rust UI toolkits I'm seeing about 10-15mb for an O3 build with LTO enabled and when including things like ICU data, a WGPU-based renderer, SVG rendering support, and a "full fat" async HTTP client. More minimal builds with features disabled and/or Os/Oz can bring that down to more like 5mb.

(obviously you can also take things much higher by building more functionality into your application, but that gives you an idea of the kind of "base size" achievable).

berkes 10/27/2025||
> By default, Rust optimizes for execution speed, compilation speed, and ease of debugging rather than binary size, since for the vast majority of applications this is ideal. But for situations where a developer wants to optimize for binary size instead, Rust provides mechanisms to accomplish this.

https://github.com/johnthagen/min-sized-rust?tab=readme-ov-f...

More comments...