4 ms·
Nice project! How was your experience building with GPUI? How does it compare to other native GUI libs, if you’ve used any?
by osener 3y ago
Nice project! How was your experience building with GPUI? How does it compare to other native GUI libs, if you’ve used any?
- mgrandl 3y agoThank you! I have mostly worked on web apps before this. I built the same app with Tauri before deciding to move to GPUI and a pure rust UI. Pros: - GPUI is heavily inspired by Tailwind, which made me productive pretty quickly. - I love the tight coupling between the Rust structs and the rendering. Makes for nice and reusable components similar to Svelte. - It's obviously purpose built for performance/latency and it shows. I haven't optimized Loungy at all, but it feels way smoother than the previous Tauri version. Cons: - GPUI is very obviously still in it's infancy. There isn't even a text input! - There is no animation system. This is a huge drawback compared to CSS/Svelte - There is no global hotkey API like in Tauri. But I could just take the hotkey crate by the Tauri guys and make it work for GPUI.