Re:Embassy: Modern embedded framework, using Rust and async
by the__alchemist on Thursday January 08, 2026 @07:28PM
(#46548536)
I've used RTIC in a few cases. In practice, it's a thin wrapper over interrupt handlers and locks on resources in them. These days, I prefer using macros to simplify the (natively onerous: many <> brackets with Mutex, RefCell etc.!) locking and initialization of global variables.
It also has software tasks, which is presumably the Embassy tie-in you mention.
Re:Embassy: Modern embedded framework, using Rust and async
by mrdataesq on Thursday January 08, 2026 @07:38PM
(#46548619)
It's very small and focused, but it fits in places Embassy can't. It reminds me in some ways of coroutines, but it can preempt.
The data-sharing maybe could be nicer, but I do think it's an improvement over C -- you get the ability to do things that you might otherwise need something much bigger like Zephyr for.
Re:Embassy: Modern embedded framework, using Rust and async
by wrs on Thursday January 08, 2026 @07:54PM
(#46548749)
So can Embassy -- look at InterruptExecutor.
Re:Embassy: Modern embedded framework, using Rust and async
by bfrog on Thursday January 08, 2026 @08:10PM
(#46548887)
It can, but adds some caveats that rtic does not have like dead locking.
Re:Embassy: Modern embedded framework, using Rust and async
by 5d41402abc4b on Friday January 09, 2026 @03:59AM
(#46551584)
>it can use your interrupt controller as a scheduler
Isnt' that how schedulers always work?
"The hardware accelerated Rust RTOS" -- it can use your interrupt controller as a scheduler.