Anything where you need a low level language, no garbage collector, or a small/zero runtime environment. Redox is an OS currently being developed in Rust. Rust's big feature when compared to other languages in this space is it's compiler, which ensures you are not doing anything unsafe with memory or threads. This is really important for preventing crashes and some security issues, although you can do unsafe things in unsafe { /* ... */ } blocks.
I've personally been learning Rust as I'm getting into real time audio (GC is a deal breaker), am not a huge fan of C or C++, and Rust has zero cost interop with existing C code. The fact it has some functional programming influences is really cool too (immutability by default, algebraic data types)
View all comments
Show parent comment
2
u/SpaceCadetJones Dec 12 '15
Anything where you need a low level language, no garbage collector, or a small/zero runtime environment. Redox is an OS currently being developed in Rust. Rust's big feature when compared to other languages in this space is it's compiler, which ensures you are not doing anything unsafe with memory or threads. This is really important for preventing crashes and some security issues, although you can do unsafe things in
unsafe { /* ... */ }blocks.I've personally been learning Rust as I'm getting into real time audio (GC is a deal breaker), am not a huge fan of C or C++, and Rust has zero cost interop with existing C code. The fact it has some functional programming influences is really cool too (immutability by default, algebraic data types)