>Stack-allocated data lets you often avoid dynamic allocation overhead and garbage collection (even closures can sometimes be entirely on the stack).
There's an entire website named after the results of over-using the stack. Smart pointers and move semantics in C++11 completely smoke GC and memory management everywhere else.
While I'm sure Rust is a nice language and I applaud its innovation,there's already a perfectly good wheel.
There's an entire website named after the results of over-using the stack. Smart pointers and move semantics in C++11 completely smoke GC and memory management everywhere else.
While I'm sure Rust is a nice language and I applaud its innovation,there's already a perfectly good wheel.