Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pornel
on April 9, 2024
|
parent
|
context
|
favorite
| on:
Zed Decoded: Async Rust
gtk-rs also supports Rust's futures on top of GTK's event loop, and you can .await dialog windows and button presses.
https://docs.rs/glib/latest/glib/struct.MainContext.html#imp...
jenadine
on April 9, 2024
|
next
[–]
I guess every rust toolkit supports that by now. Eg, Slint:
https://docs.rs/slint/latest/slint/fn.spawn_local.html
__s
on April 9, 2024
|
prev
[–]
Back in 2012 I threw together something like this for managing UI dialogs in C#. For all the hate async/await gets about being an over optimization, it's good to see people find use for it as an ergonomic tool outside of concurrency
fanf2
on April 9, 2024
|
parent
[–]
User interfaces are not outside of concurrency.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://docs.rs/glib/latest/glib/struct.MainContext.html#imp...