Embassy
Async Rust framework and runtime for embedded systems and microcontrollers.
Loved for running async Rust on small microcontrollers without heap allocation123 and for a modern, pleasant embedded developer experience.4567 The main caveat is that its task-switching model differs from traditional C RTOSes and takes time to learn8, and async drivers for some peripherals are occasionally missing.9
Why people recommend it
Developer experience · 3
Commenters describe it as a modern, well-made toolchain that is a pleasure to use.
“So overall really happy with it and I highly recommend trying it out especially if you are in the STM ecosphere.”
“Have used embassy several times for projects and it's a beautiful work of art. Highly recommend.”
Show 1 more
“people damn near fall to their knees and weep when talking about how nice the experience is using embassy”
Tiny footprint · 3
It avoids heap allocation and runs on microcontrollers with as little as 64k flash and 16k RAM.
“Embassy (https://github.com/embassy-rs/embassy) uses this concept of no heap allocation and I find it really solid.”
“Even 64k flash and 16k ram is enough for embassy.”
Show 1 more
“I use embassy[1] on microcontrollers (the Pi Pico and ESP32 in my case), where tokio can't run.”
Async ergonomics · 2
Its cooperative async multitasking is preferred over alternatives like RTIC.
“So overall really happy with it and I highly recommend trying it out especially if you are in the STM ecosphere.”
“Even 64k flash and 16k ram is enough for embassy.”
Simpler testing · 1
One developer says it lets them skip many usual workarounds when developing and testing.
“Check out Embassy and you'll be free to ignore pretty almost everything suggested here”
Caveats and dissent
Learning curve · 1
Its task-switching model differs from FreeRTOS-style RTOSes and requires learning new concepts.
“But Embassy, with different task switching mechanism, mean i need to learn another new concept”
Missing drivers · 1
Async drivers for some specific peripherals may not exist yet.
“So overall really happy with it and I highly recommend trying it out especially if you are in the STM ecosphere.”
Often compared with
Who recommends it in their own words
Threads where it came up
- Embassy: Modern embedded framework, using Rust and async 4 mentions
- The Goose Programming Language 1 mention
- Rust is tier-1 language at Microsoft 1 mention
- Async Rust vs RTOS showdown (2022) 1 mention
- TurboKV: Insanely fast Rust key-value store 1 mention
- The Rust on ESP Book 1 mention
Also written as embassy. Data: embassy.json. Quotes are verbatim; the verdict and theme labels are written by a model from these comments, and every clause links to its sources.
All comments 9
“Embassy (https://github.com/embassy-rs/embassy) uses this concept of no heap allocation and I find it really solid.”
“Even 64k flash and 16k ram is enough for embassy.”
“But Embassy, with different task switching mechanism, mean i need to learn another new concept”
“I use embassy[1] on microcontrollers (the Pi Pico and ESP32 in my case), where tokio can't run.”
“Check out Embassy and you'll be free to ignore pretty almost everything suggested here”
“embassy-rs + 2350 is my go-to choice. Highly recommand this stack”
“people damn near fall to their knees and weep when talking about how nice the experience is using embassy”
“So overall really happy with it and I highly recommend trying it out especially if you are in the STM ecosphere.”
“Have used embassy several times for projects and it's a beautiful work of art. Highly recommend.”