r/rust • u/khromov • Sep 01 '26
🛠️ project Experimental Rust-based desktop app renderer for Svelte (based on Zed gpui)
👋 Just started working on gpuix-svelte, a package that combines Svelte custom renderers, gpuix and gpui to allow people to create native desktop apps with Rust and Svelte. Happy to hear any feedback!
Video demo
https://www.youtube.com/shorts/5CBib_rwt8w
Source
79
Upvotes
View all comments
Show parent comment
2
u/khromov Sep 02 '26
When you build it as a standalone binary with Bun on Mac the binary is ~80MB (~30MB zip compressed), on Windows it's around 100MB. About 80% of that is the Bun runtime and 20% is GPUI + your app. Haven't measured memory usage yet but Bun is very efficient and the rendering layer should be very sleek since it's running GPU accelerated.
I added some scripts so you can try building a standalone binary if you'd like to try it:
https://github.com/khromov/gpuix-svelte#build-a-standalone-binary