Nim has opt-in RC using the `ref` keyword; the default is stack-managed single-owner lifetimes, including for heap types. Passing is borrowing by default, while moving must be explicit; the vice-versa to Rust's approach. Data is technically cleaned up by the RC's procedures, but the destroy hooks are always called at the end of scope. And like I said, `ref` or `ptr` short-circuits that.