A detailed comparison between the Embassy async Rust model and FreeRTOS in C on an STM32F446 microcontroller focusing on interrupt latency, program size, RAM usage, and ease of programming is discussed. Tests reveal that Embassy/Rust outperforms FreeRTOS/C in interrupt time, thread time, interrupt latency, program size, and static memory usage, making it the winner of the showdown. The showdown includes practical implementation examples and performance results, highlighting the strengths of both approaches.

17m read timeFrom tweedegolf.nl
Post cover image
Table of contents
Async RustRTOSLet the showdown begin!Let's look at the codeResultsThe winnerWrap upAttribution
3 Comments

Sort: