From Zero to Async in Embedded Rust

preview_player
Показать описание
Today we learn about async/await and how it works in an embedded environment by... building an async runtime from scratch in embedded Rust! We also cover time-keeping, state-machines, interrupts and futures.. and a smidge of embassy, which we'll use extensively in future videos.

Chapters:
0:00 Intro
1:22 Project Setup
4:11 Timekeeping
8:04 State Machines
18:12 Interrupts
26:23 Futures
45:20 async/await
59:18 embassy
1:01:58 Awaiting the end

Special thanks to `word` and `long`Patreon supporters!
- David King
- Julian Bolivar
- Χάρης Αμαράντηγος

References:
Рекомендации по теме
Комментарии
Автор

FAQ

- 21:53 : Is `RefCell` really needed with `Mutex`? Doesn't `Mutex` already provide interior mutability?

therustybits
Автор

This is the exact kind of top to bottom project breakdown that can onboard people very quickly 10/10 video.

Kaptime
Автор

After developing for years C/C++ in anger for embedded, I can see now why people talk good about rust. A lot of verbosity, but things make sense. And it seems like it won't give you nightmares at night while you wonder if your medical unit will kill somebody some day because you had a dangling pointer!

FernandoMumbach
Автор

I’m now half way through the genius „Zero2Prod in Rust“ book. You should *absolutely* write one but for embedded in Rust.

FedynaPavlo
Автор

I just recently watched your other videos and when I discovered that they were from 5+ months ago and you only had 3 others I was so sad. So imagine my surprise and absolute joy to find that there is a new video now. I'm so glad you're still continuing with these videos I find them imeasurably helpful and I am captivated by the way you present and discuss topics. Please never stop, your content is amazing!

JordanRobinson-ww
Автор

This comprehensive guide delves deeply into Rust programming, covering all the techniques used in this program.
Great job!, I’ll try out this code on my end.

anandmoon
Автор

Loved that it is Project based explanation. I now understand how concurrent programming work. I was struggling with the concept for months really. Im a in high school student so this is very useful video. Thank you.

indierusty
Автор

Damn this is some quality explanation! Answered a lot of questions I had related to embedded. Keep it up man!

jan_the_man
Автор

Great video! Low level async and embedded, two of my high interest topics at the moment!

J-Kimble
Автор

You made me sit down and think how concurrent tasks are usually implemented using state machines, thanks for this amazing work!

Eekhoornz
Автор

Very nice video, I am thinking about using Embassy for some new embedded projects at work but was a little queasy on using something (async/await) that I did not fully understand. This video gave me a lot of insight and (slightly) more confidence. Thank you for taking the time to make such a great resource!

namr
Автор

Picking embassy going forward is a very good choice.

MaxWeninger
Автор

Amazing work, was waiting your next video, perfect as always

mehmethekimolu
Автор

Best Embedded Rust out there so far. For me a tick fast in some places due to not being to familiar with the embedded eco system in general but its probably smarter to pick up those skills with C first

Sillyvan
Автор

This is awesome! Ive recently been working on an async executor using C++ coroutines for embedded systems at work, so it was really neat to see some of the parallels.

jvcrules
Автор

Waiting for a 1 hour Video was so worth it!

Jonas
Автор

This is a really good tutorial. Thank you so much for making quality education video.

indierusty
Автор

Wooo new video! Love the content and super useful topic!🎉🎉

thaejsooriya
Автор

Ahhhh, I just finally manage to make it using rtic and interrupts and here we go new pattern 😂😂
As always thank you!
Thrilling to try it

MrMassaraksh
Автор

Yeah, new video! Just yesterday I was leaving a message asking for one, and here we go!!!

IvanDeMarino