5 ms·
What about the current ecosystem is lacking that made you want to write a new one from scratch? (gpui, Dioxus, Slint)
by simplesocieties 1mo ago
What about the current ecosystem is lacking that made you want to write a new one from scratch? (gpui, Dioxus, Slint)
- josephg 1mo agoBecause none of those UI libraries use native controls. I want mac apps to look and feel like mac apps. I want native controls, native shortcuts, toolbars, built in integration with screen readers, and all the other things that the OS already provides. Dioxus uses webviews for everything. Slint has invented their own set of UI components, so slint apps don't look and feel like anything else. As I understand it, gpui is somewhere in the middle. If you run an app using my framework, I want it to feel like a completely native app that was made for that platform. It should look like any other swiftui, cocoa / uikit, winui, etc application. Native shortcuts. Native controls. Native look and feel. Small binary size. No electron. No webviews. It's just not that hard to link to the system's UI libraries.
- simplesocieties 26d agoGPUI does use native controls. I'm not sure what you mean https://github.com/longbridge/gpui-component https://github.com/longbridge/gpui-component
- mwcampbell 1mo ago> It's just not that hard to link to the system's UI libraries. Are you concerned that as SwiftUI and Jetpack Compose continue to become the preferred native UI frameworks on Apple and Android respectively, you're going to need to figure out a way to bridge to them from Rust?
- josephg 1mo agoI think I might need to bridge to them from rust. But that doesn’t sound impossible. Just … tricky. Especially to bridge to them in a performant way. I’m not sure if SwiftUI has a lower level api.