Introduction to Async in Rust
This session we dipped our toe into the world of asynchronous programming in Rust, looking at the support available to us both out of the box and through libraries. Useful links: - Rust Async Book https://rust-lang.github.io/async-book - Tokio tutorial https://tokio.rs/tokio/tutorial - Async-std book https://book.async.rs - (Video) Crust of Rust - async/await https://www.youtube.com/watch?v=ThjvMReOXYM - (Example code) Mini redis server/server https://github.com/tokio-rs/mini-redis - (Podcast) Rustacean Station - Asynchronous Rust with Taylor Mandry https://rustacean-station.org/episode/tyler-mandry/ - (blog) How Rust Optimizes async/await https://tmandry.gitlab.io/blog/posts/optimizing-await-1/ - (stack overflow) Synchronously returning values https://stackoverflow.com/questions/52521201/how-do-i-synchronously-return-a-value-calculated-in-an-asynchronous-future-in-st - (blog) Scoped Threads https://medium.com/@KevinBGreene/async-programming-in-rust-part-2-diving-into-scoped-threads-50aace437756 - (code) Tokio `select!` macro doc https://github.com/tokio-rs/tokio/blob/master/tokio/src/macros/select.rs - (blog) Async Destructors - https://boats.gitlab.io/blog/post/poll-drop/ - (blog) Why async traits are hard - https://smallcultfollowing.com/babysteps/blog/2019/10/26/async-fn-in-traits-are-hard/ - (blog) Async builders - https://blog.yoshuawuyts.com/async-finalizers/ Presenter(s): Ciara Meetup info: This was a recording of a virtual meetup. For information about future events join our meetup group: https://www.meetup.com/rust-and-c-plus-plus-in-cardiff/ You can also find us on discord, drop us a message to be sent the link. Big thank you to Esri for sponsoring our meetup page
Download
0 formatsNo download links available.