News for hackers. Stuff that matters.
Re:Moss: a Rust Linux-compatible kernel in 26,000 lines of code by rcxdude on Friday November 28, 2025 @05:59AM (#46077518)
Yeah, for example embassy-rs is an RTOS that uses rust async on tiny microcontrollers. You can hook task execution up to a main loop and interrupts pretty easily. (And RTIC is another, more radically simple version which also uses async but just runs everything in interrupt handlers and uses the interrupt priority and nesting capability of most micros to do the scheduling)
Re:Moss: a Rust Linux-compatible kernel in 26,000 lines of code by Rochus on Friday November 28, 2025 @06:21AM (#46077648)
Interesting references, thanks. Moss seems to be doing the same thing as Embassy.
Re:Moss: a Rust Linux-compatible kernel in 26,000 lines of code by boguscoder on Friday November 28, 2025 @11:26AM (#46080052)
Sorry for nit but embassy is not a RTOS (or any OS), its a framework
Re:Moss: a Rust Linux-compatible kernel in 26,000 lines of code by rcxdude on Friday November 28, 2025 @08:35PM (#46084524)
The difference becomes a bit murky at this level. For example embassy comes with a lot more things I would consider OS-related than FreeRTOS does.