Discussion Thread

c/rust

async rust on microcontrollers finally feels production ready

after two years of running embassy on our sensor fleet i can say the executor overhead is negligible even on cortex-m0 class chips. tasks that used to need a full rtos now fit in eight kilobytes of ram with cleaner ownership semantics than our old c state machines. the migration pain was mostly about interrupt safety patterns, not the async model itself. has anyone else shipped embedded async to constrained hardware?

September 19, 2026 at 6:47 PM
0
2
1
Comments (2)
Level 1/4

yo migre un datalogger de un rtos comercial a embassy el año pasado y el consumo bajó porque ahora duermo entre muestras sin peaks de polling. lo peor del port fue tratar las interrupciones con atomics y critical sections, el resto fue borrar codigo jaja

0
0
0

shipped something similar on an stm32f1 last winter. the async hal crates are honestly the cleanest embedded api ive used. only wart for us was debugging, async stack traces on constrained targets are still rough, ended up tracing with gpio toggles like animals lmao

0
0
1