Rendered at 00:54:58 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
jauntywundrkind 1 days ago [-]
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?
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.
jauntywundrkind 1 days ago [-]
Oh definitely!
It's remarkable to me that this web toolkit is atop GPUI, which is a native app rust toolkit! We don't have a ton of cross native/web libraries, afaik! https://gpui.rs/
Flutter does both, but Flutter does it by being a giant canvas with its own drawing engine. It's awesome-sauce to see such a more harmonious path.
Different topic but I'd done a little playing around with trying to write a HTML front end that could drop in to opencode 's opentui library. The cross-modal UI is a fun idea to me!
autodidacc 1 days ago [-]
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!
jauntywundrkind 1 days ago [-]
Ahhhh shucks. The Base UI base made me think "oh they are basing this off of well known web componentry stuff, CSS systems, nice!".
Thanks, & mea culpa, my bad for jumping to conclusions.
This is sick. This is so rad, heck yes.
https://github.com/zed-industries/zed/pull/50228
Someone also seems to have added mobile support too
https://github.com/itsbalamurali/gpui-mobile
It's remarkable to me that this web toolkit is atop GPUI, which is a native app rust toolkit! We don't have a ton of cross native/web libraries, afaik! https://gpui.rs/
Flutter does both, but Flutter does it by being a giant canvas with its own drawing engine. It's awesome-sauce to see such a more harmonious path.
Different topic but I'd done a little playing around with trying to write a HTML front end that could drop in to opencode 's opentui library. The cross-modal UI is a fun idea to me!
Thanks, & mea culpa, my bad for jumping to conclusions.