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 rust-lang.github.io/async-book
- Tokio tutorial tokio.rs/tokio/tutorial
- Async-std book book.async.rs
- (Video) Crust of Rust
- async/await • Crust of Rust: async/a...
- (Example code) Mini redis server/server github.com/tokio-rs/mini-redis
- (Podcast) Rustacean Station
- Asynchronous Rust with Taylor Mandry rustacean-station.org/episode...
- (blog) How Rust Optimizes async/await tmandry.gitlab.io/blog/posts/...
- (stack overflow) Synchronously returning values stackoverflow.com/questions/5...
- (blog) Scoped Threads / async-programming-in-r...
- (code) Tokio `select!` macro doc github.com/tokio-rs/tokio/blo...
- (blog) Async Destructors - boats.gitlab.io/blog/post/pol...
- (blog) Why async traits are hard - smallcultfollowing.com/babyst...
- (blog) Async builders - blog.yoshuawuyts.com/async-fi...
Presenter(s): Ciara
Meetup info:
This was a recording of a virtual meetup. For information about future events join our meetup group: www.meetup.com/rust-and-c-plu...
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

Пікірлер: 5

  • @gzoechi
    @gzoechi Жыл бұрын

    That was some great introduction and summary about the state of async in Rust

  • @Roibarkan
    @Roibarkan Жыл бұрын

    42:12 I think that for single threaded runtimes, the interaction (polling) with the O/S and resumption of task is actually done “within” the block_on() function - so the thread that’s blocking on some async activity is “donating” it hardware resources for the needed O/S interaction.

  • @sharperguy
    @sharperguy Жыл бұрын

    Looking forward to more support in the embedded domain. Since most embedded processors don't have the ability to create multiple threads, it would be really helpful for programs which need to keep track of multiple ongoing asynchronous tasks.

  • @rtachallenger
    @rtachallenger9 ай бұрын

    This is so helpful omg

  • @thingsiplay
    @thingsiplay Жыл бұрын

    "Threads are for working in parallel and async is for waiting in parallel." ~ quote from the internet ~ Well now it is not from the internet anymore; it is from KZread.

Келесі