2 ms·
That’s the thing: they’re not automatic in Rust. You have to explicitly retain. (Release is automatic though.) Furthermore, in Swift it’s pervasive, and in Rus
by steveklabnik 8y ago
That’s the thing: they’re not automatic in Rust. You have to explicitly retain. (Release is automatic though.)
Furthermore, in Swift it’s pervasive, and in Rust, it only happens for types that explicitly opt-in.
- klodolph 8y agoIt sounds automatic to me. Maybe we disagree about what "automatic" is. It also sounds like you are hunting for ways in which Swift and Rust are different. This is completely unnecessary! It turns out that I already know that they are different languages, and that the features do not map exactly 1:1 to each other. I hope next time you give me a little credit.