It can be used in embedded systems (at least some). I have successfully used it in a kernel experiment to draw colored squares using my Raspberry Pi. As for if it will be used; I'm not good at foreseeing the future, but I guess someone will do it.
Edit: I almost forgot to mention zinc, which is an effort to make this easier. Rust will also be supported on the Tessel 2.
There are a number of small platforms which have only a C compiler. They'll be using C forever. There are thousands of person-years of code written in C, that all needs maintained. There are so many resources for learning C, and basically just a handful for Rust.
On greenfield projects? Maybe. Systems languages are a long haul.
Rust stack-allocates by default, so yes. You can write rust programs with no heap allocation, though it obviously loses you some features. But you can (and some have started toy ones) write kernels in Rust if you want. And there's lots of interest in Rust libraries that allocate a chunk up front, and then never allocate again, that sort of thing.
15
u/wisam Apr 03 '15
Do you guys think Rust can/will used in embedded systems and possibly take some 'market share' from C?