snaggen@programming.dev to Rust@programming.dev · 1 year agoAnnouncing Freya GUI librarymarc0.hashnode.devexternal-linkmessage-square7fedilinkarrow-up176
arrow-up172external-linkAnnouncing Freya GUI librarymarc0.hashnode.devsnaggen@programming.dev to Rust@programming.dev · 1 year agomessage-square7fedilink
minus-squareBB_C@programming.devlinkfedilinkarrow-up20arrow-down1·1 year ago Languages: Just Rust! You got my attention. fn app(cx: Scope) -> Element { let mut count = use_state(cx, || 0); render!( rect { height: "20%", width: "100%", background: "rgb(233, 196, 106)", padding: "12", color: "rgb(20, 33, 61)", label { font_size: "20", "Number is: {count}" } } rect { height: "80%", width: "100%", background: "rgb(168, 218, 220)", color: "black", padding: "12", onclick: move |_| count += 1, label { "Click to increase!" } } ) } Oh, it’s stringly-typed Rust. Yeah, no thanks.
minus-squareHoloPengin@lemmy.worldlinkfedilinkarrow-up9·1 year agoYeah why do this when rust’s type system is so rich
minus-squareSouthern Wolf@pawb.sociallinkfedilinkarrow-up1arrow-down1·1 year agoHaven’t looked at a lot of Rust front-end GUI libraries recently, eh?
You got my attention.
Oh, it’s stringly-typed Rust.
Yeah, no thanks.
Yeah why do this when rust’s type system is so rich
Haven’t looked at a lot of Rust front-end GUI libraries recently, eh?