Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • Wait, what?! These examples run in the browser? This rust library is atop GPUI which is already well used for native apps, but outputs primarily / only (I'd guess only?) web apps? And they are real web apps, with html, unlike the Flutter abomination?

    This is sick. This is so rad, heck yes.

  • as for compiling to HTML, it unfortunately renders in a HTML <canvas>, which was how Flutter rendered in the web :( but I can only hope it compiles to that in the future!
  • You might also find Yew, Leptos an Dioxus interresting... they're web UI frameworks for browser applications written in rust... with some options for native(-like) application targets.
  • Yep! GPUI added WASM compilation targets in Feb!

    https://github.com/zed-industries/zed/pull/50228

    Someone also seems to have added mobile support too

    https://github.com/itsbalamurali/gpui-mobile

  • This is interesting, but isn't it kinda scary to write a lot of code on top of GPUI that's effectively only serving Zed?

    https://news.ycombinator.com/item?id=47003569

  • you're not wrong, but honestly this didn't come in mind when I chose to make this. I just really liked the API surface of gpui, base-ui, and wanted to make something that I could use for myself, and that other people might find helpful

    there is also a small growing circle of people interested in maintaining and extending gpui from what I see, which is nice!