Async and Await in Rust
Автор: regionaltantrums
Загружено: 2022-12-15
Просмотров: 663
We explore cooperative multitasking and the async/await feature of Rust. We take a detailed look at how async/await works in Rust, including the design of the Future trait, the state machine transformation, pinning, executors and wakers.
This talk uses Philipp Oppermann's (excellent) blog as the source material - https://os.phil-opp.com/async-await/
CHAPTERS
0:00 Intro
2:29 What is asynchronous programming?
8:31 Basics of multi-tasking
26:15 Why async and await?
31:37 Futures in Rust
42:31 Polling futures using state machines
1:05:50 Await or pause points
1:07:20 Pinning and Pin type
1:14:55 Executors and wakers
1:22:36 sidenote on task priority, atomics and multicore programming
#rust #async #embeddedsystems #programming
getting in touch:
twitter: @npashi, / npashi
matrix: @nihal.pasham:matrix.org
Credits:
Talk from the Rust embedded workshop, Bengaluru: 5th-9th Dec 2022
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: