Skip to content
0:00 / 0:00

#embassy#asyncrust#no-std

Async Rust in Embedded Systems with Embassy - Dario Nieuwenhuis

RustNL

6.7K subscribers • 4 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Dario Nieuwenhuis
  • Linked in the descriptionSlides on github.com

Intermediate. Assumes working knowledge.

20K views2 years ago1 recommendation

Systems programmingProgramming languagesRustEmbedded systemsConcurrency and parallelism

Dario Nieuwenhuis explores how the Embassy runtime enables async/await in resource-constrained embedded systems without an OS.

Async/await in Rust has a unique design compared to other languages that offers much lower-level control. This makes it surprisingly well suited for use in microcontroller-based embedded systems with no operating system, little memory (down to kilobytes!) and no heap. Embassy is an async runtime that makes that possible: it includes an executor that works on no-std no-alloc targets, and libraries to do async IO directly against the hardware. In this talk we'll explore how this is done, what challenges arise and how Embassy solves them, what makes async on embedded unique compared to a standard async runtime like Tokio, and what improvements could we make to the Rust language itself to make it even better. Slides: github.com/rustnl/meetups/blob/main/20240507-delft/slides/As… Follow Dario on: twitter: twitter.com/dirbaio mastodon: hachyderm.io/@dirbaio github: github.com/Dirbaio This talk was given at RustNL 2024, in Delft, The Netherlands. Playlist of other talks from RustNL 2024: youtube.com/playlist?list=PL8Q1w7Ff68DBZZbJt3ie5MUoJV5v2HeA7 Want to come to RustWeek 2025 in-person? go to 2025.rustnl.org

Why it's here

1 person recommends this

What people say. Recommended as an excellent talk on using async Rust and Embassy for embedded development.

u/Background-Code8917in r/embedded • Recommends

Rust, Embassy, and embedded-hal-async Are Such a Breath of Fresh Air