r/programming • • Aug 31 '24

Rust solves the problem of incomplete Kernel Linux API docs

https://vt.social/@lina/113056457969145576
262 Upvotes

126 comments sorted by

View all comments

Show parent comments

2

u/lestofante Sep 01 '24

By touch that I mean no company wants to work with tooling that requires a nightly compiler

the guy that wrote embassy literally wrote for its own company.. but not an issue anymore anyway, its stable and its publish on cargo (used to have to be git-cloned).

Also a big roadblock was the lack of certified toolchians, but now it is solved by Ferrocene (at least for the main ones, they still working on some more)

But for RTOS one of the things you really do want is preemption. You don’t want one task to be able to block execution.

embassy do support preemption: https://github.com/embassy-rs/embassy/blob/main/examples/nrf52840/src/bin/multiprio.rs