4 ms·
Yes, but so does Rust. Reference counting is orthogonal to, although related to, to borrow checking. Vala's wiki has a page all about its ownership mechanism:
by parenthephobia 10y ago
Yes, but so does Rust. Reference counting is orthogonal to, although related to, to borrow checking.
Vala's wiki has a page all about its ownership mechanism: https://wiki.gnome.org/Projects/Vala/Ownership https://wiki.gnome.org/Projects/Vala/Ownership
- steveklabnik 10y agoRust does not use reference counting for ownership, or borrow checking. It is true that you can introduce it for your own types though, with Rc/Arc. That's not really "rust using" it though; it's just a library. Thanks for the link, I'll dig in!