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.
[1]: https://github.com/tock/tock/blob/master/doc/Getting_Started... [2]: https://github.com/hashmismatch/freertos.rs
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?
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.)
Actually, does anyone know if FORTRAN is ever used for embedded applications?
It was used for a fair number of control systems in the 1980s and 1990s.
[0] https://webhome.weizmann.ac.il/home/fhlevins/RTF/RTF-TOC.htm...
Using C/C++ for embedded systems external communications feels like building a house out of matches.
Sure, there's tooling to help fire proofing things a bit, like static analysis and so on. You see, it's important to spray some fire retardant on the match house.
But wouldn't it be so much nicer to have a construction material other than matches for this purpose...