rust·Rustbysnaggen Announcing Freya GUI libraryhttps://marc0.hashnode.dev/freyaOpen linkView original on programming.dev73Comments7
BBB_C programming.dev2Hide 2 replies 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.19
BBlack616Angel feddit.de1Hide 1 reply Native GUI library for Rust Oh, you have my attention. stringly-typed Ummm.... simple click counter example doesn't work on my phone Aw shit. Project website12
Rustmilian lemmy.worldLoving these, the more toolkits like this the better. Let's build the Rust ecosystem into the most useful & complete tool in any developers arsenal for all use cases one ever might need.9
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?
Oh, you have my attention.
Ummm....
Aw shit.
Project website
The counter doesn't work on my phone, either.
Loving these, the more toolkits like this the better.
Let's build the Rust ecosystem into the most useful & complete tool in any developers arsenal for all use cases one ever might need.
Seems pretty legit!
The live refresh seems cool, would love to try it out