1043: I’m Using GPUI For Everything
From Syntax - Tasty Web Development Treats · · 32 min
This plays from the publisher's own server. We do not host a copy.
Description
Scott and Wes ditch Electron and Tauri for GPUI, the GPU accelerated Rust UI framework from the Zed team. They get into its React-like API, styling that feels a lot like Tailwind, GPUI Kit components, the community fork drama, and the tiny desktop apps Scott has built with it.
Show Notes
- 00:00 Welcome to Syntax!
- GPUI (https://gpui.rs/)
- 01:24 Electron, Tauri, and the Trouble With Web Views
- 04:05 Enter GPUI: Why We Don’t Take Money to Talk About Tools
- 05:32 Brought to you by Sentry.io (https://sentry.io/syntax/)
- 05:59 What GPUI Is: GPU Accelerated, Cross Platform, Native All the Way Down
- 06:50 A React Like API in Rust: Divs, Flex, and Chained Methods
- 09:35 Components, Props, and State in GPUI
- Scott’s GPUI Demo Gist (https://gist.github.com/stolinski/234d65a09d65a81b99d67084841a0d22)
- 11:21 How Much of CSS Does GPUI Actually Reimplement?
- 12:52 Flexbox Everywhere, But Where Is CSS Grid?
- 14:17 Where Does Your App Logic Live? No RPC Layer Needed
- 15:53 Render vs RenderOnce: Stateful and Static Components
- 16:57 GPUI Kit: The shadcn of GPUI
- 18:46 GPUI CE: The Community Fork and Ecosystem Tension
- 21:29 Apps Scott Built With GPUI: Gendo, File Bro, and Mr. Space
- 22:48 Why Tiny Utility Apps Should Stay Tiny
- 24:25 File Bro: File Automations a la Hazel
- 25:27 Mr. Space: Building a macOS Window Manager
- 27:05 The Downsides: No Native UI Elements and No Browser DOM
- Scott’s Rust Best Practices Skill (https://github.com/stolinski/s-stack/tree/main/skills/rust-best-practices)
- 29:56 Testing GPUI Apps With Jev and the Accessibility Tree
- gpui-agent (https://github.com/stolinski/gpui-agent)
- 30:39 GPUI Mobile: Experimental, But It Works
- GPUI Kit Mobile Docs (https://gpui-kit.com/docs/mobile/)
- gpui-mobile (https://github.com/longbridge/gpui-mobile)
- 31:52 Final Verdict: GPUI for Personal Desktop Software
Hit us up on Socials!
Syntax: X (https://twitter.com/syntaxfm) Instagram (https://www.instagram.com/syntax_fm/) Tiktok (https://www.tiktok.com/@syntaxfm) LinkedIn (https://www.linkedin.com/company/96077407/admin/feed/posts/) Threads (https://www.threads.net/@syntax_fm)
Wes: X (https://twitter.com/wesbos) Instagram (https://www.instagram.com/wesbos/) Tiktok (https://www.tiktok.com/@wesbos) LinkedIn (https://www.linkedin.com/in/wesbos/) Threads (https://www.threads.net/@wesbos)
Scott: X (https://twitter.com/stolinski) Instagram (https://www.instagram.com/stolinski/) Tiktok (https://www.tiktok.com/@stolinski) LinkedIn (https://www.linkedin.com/in/stolinski/) Threads (https://www.threads.net/@stolinski)
Randy: X (https://twitter.com/randyrektor) Instagram (https://www.instagram.com/randyrektor/) YouTube (https://www.youtube.com/@randyrektor) Threads (https://www.threads.net/@randyrektor)
Back to Syntax - Tasty Web Development Treats · Report a problem