#rustasync — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #rustasync, aggregated by home.social.
-
@noboilerplate THIS!
I think a lot of people inadvertently assume async #RustLang is so different from sync Rust, because the way it is - when in fact it's because of the (most popular) async runtime they're using.
We should look way more into alternative #async runtimes to #Tokio, e.g. smol:
https://floss.social/@janriemer/111669258656959538
#Smol allows you to use non-'static Futures by using a local executor:
https://floss.social/@janriemer/111669668856899636
It looks a lot more like "normal" #Rust.
-
Beul - it executes futures | by Bert Peters
"Beul is a minimalistic futures executor. No dependencies, no unsafe #Rust. It simply executes futures."
It can't get any simpler than that. ¯\_(ツ)_/¯
-
*makes some happy screaming noise* :awesome: :ferris:
#Rust will end this year with a long awaited feature that will define it's future:
We will get "async fn and return-position impl Trait in trait" (#AFIT & #RPITIT).
It will be stabilized in the next #RustLang version 1.75, which will be released on 28 December, 2023.
https://releases.rs/docs/1.75.0/
PR:
https://github.com/rust-lang/rust/pull/115822Thank you Rust #community for all of your hard work! ❤️