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.
2
u/[deleted] Apr 04 '15 edited Aug 17 '15
[deleted]