Rust isn't exactly a managed memory language. To simplify what's going on a bit, its compiler refuses to accept code that can result in certain common (but not all) classes of memory and threading ...