2 ms·
> This is true, but the inverse is that Rust's ownership model itself poses its own high cost in terms of a significant cognitive burden In "burdensome" situat
by zozbot234 7y ago
> This is true, but the inverse is that Rust's ownership model itself poses its own high cost in terms of a significant cognitive burden
In "burdensome" situations, you can always defer ownership checking to runtime with the Rc<RefCell<T>> and Arc<Mutex<T>> patterns. It's less performant than using pure compile-time checks, but not nearly as problematic as general GC, or immutable-only data structures.