File:Crust of Rust- async-await.webm

Summary

Description
English: Finally, we tackle the topic of async/await in Rust, and specifically looking at how to use and think about async/await more so than how it works under the hood. My hope with this video is to convey the mental model and intuition you should use when using async/await in your own code, without getting bogged down in the details of Future, Pin, and Wakers.

0:00:00 Introduction 0:04:49 Fixing the video title 0:05:28 What is async fn? 0:10:40 awaiting futures 0:17:00 Yielding 0:20:03 Awaiting one of multiple futures 0:34:46 Cancellation 0:37:58 Executing futures 0:50:50 Select arms with side-effects 0:55:35 Cooperative scheduling 0:58:38 Selects with many arms 1:01:51 Fused futures 1:04:35 Overhead of async 1:07:56 Is select a future? 1:09:20 Awaiting multiple futures 1:19:17 Parallelism and spawning 1:30:37 Sharing across spawn 1:36:23 Runtime discovery 1:42:05 Stack variables in async 1:55:45 Async fn in traits 2:08:06 Asynchronous Mutexes 2:21:03 Do futures stay on a thread? 2:24:11 Async stack traces 2:33:04 Wrapping up

The async book: https://rust-lang.github.io/async-book/ Tokio's mini-redis: https://github.com/tokio-rs/mini-redis/


Live version with chat: https://www.youtube.com/watch?v=CaCYL11_qEU
Date
Source YouTube: Crust of Rust: async/await – View/save archived versions on archive.org and archive.todayCategory:Media from YouTube
Author Jon Gjengset

Licensing

This video, screenshot or audio excerpt was originally uploaded on YouTube under a CC BY license.
Their website states: "YouTube allows users to mark their videos with a Creative Commons CC BY license."
To the uploader: You must provide a link (URL) to the original file and the authorship information if available.
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
Attribution:
Jon Gjengset
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Category:CC-BY-3.0#Crust%20of%20Rust-%20async-await.webm
Category:Media from YouTube#Crust%20of%20Rust-%20async-await.webm
This file, which was originally posted to an external website, has not yet been reviewed by an administrator or reviewer to confirm that the above license is valid. See Category:License review needed for further instructions.
Category:License review needed (video)#153339942 Category:Uploaded with video2commons Category:Videos of Rust (programming language) Category:Videos of software development Category:Videos in English
Category:CC-BY-3.0 Category:License review needed (video) Category:Media from YouTube Category:Uploaded with video2commons Category:Videos in English Category:Videos of Rust (programming language) Category:Videos of software development