Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...



I guess every rust toolkit supports that by now. Eg, Slint: https://docs.rs/slint/latest/slint/fn.spawn_local.html


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


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: