3 ms·
Have you tried Conrad? (https://github.com/PistonDevelopers/conrod https://github.com/PistonDevelopers/conrod) I've not delved much into GUI programming in Rus
by kernelbandwidth 9y ago
Have you tried Conrad? (https://github.com/PistonDevelopers/conrod https://github.com/PistonDevelopers/conrod)
I've not delved much into GUI programming in Rust myself, so I'm just interested to hear any arguments for/against. As a more general point, I suspect a good Rust GUI framework will end up looking more in the spirit of React and the FRP approach, as ownership and the tendency towards immutable data have less friction with that approach.
- fpgaminer 9y agoI didn't try Conrad, because as far as I know it doesn't use any native components. Not that gtk-rs is much better, but I felt that at least GTK was "tried and true" versus a GUI entirely from scratch (Conrad). My first attempt was actually with libui, which would give me native components on every platform, but they don't implement a list view which is the heart of a password manager's UI...
- kernelbandwidth 9y agoAh, okay, that makes sense, particularly with the cross-platform aspect. Personally, my plan had generally been to just go with a client-server architecture. At least to start I'd only be targeting macOS in my hypothetical projects, so I had planned to just write the UI in Swift and Cocoa, and application logic in Rust. Unnecessarily complicated, but fun for a hobby project.