4 ms·
Rust looks quite promising. Currently limited microcontroller architecture support is one of the biggest issues with it. Rust based RTOS would also be helpful
by vardump 8y ago
Rust looks quite promising.
Currently limited microcontroller architecture support is one of the biggest issues with it.
Rust based RTOS would also be helpful for medium size devices. Of course small devices are fine on bare metal.
- v_lisivka 8y agoThere are some projects, for example [1],[2], but they require nightly compiler, i.e. they cannot be used in production yet. [1]: https://github.com/tock/tock/blob/master/doc/Getting_Started.md https://github.com/tock/tock/blob/master/doc/Getting_Started... [2]: https://github.com/hashmismatch/freertos.rs https://github.com/hashmismatch/freertos.rs
- iainmerrick 8y agoIf you don't use Rust yet, what do you use right now? I would have guessed C or C++. Maybe they're not great for the purpose but they're also just about the only game in town, no?
- vardump 8y agoMostly C. While C++ is easier to write, for very low level code, it is harder to maintain when you need to understand all of the side effects to maintain code safety. C++ compiler support is also sometimes not available. (And of course it's very like there'll be no Rust compiler available either in this case.)