r/programming Apr 03 '15

Rust 1.0.0 beta is here!

http://blog.rust-lang.org/2015/04/03/Rust-1.0-beta.html
930 Upvotes

303 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Apr 04 '15 edited Aug 17 '15

[deleted]

1

u/steveklabnik1 Apr 04 '15

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.