3 ms·
so that you can reference mutable shared state, but only one task/thread/function may access it at any one time and assigning or copying the pointer causes owne
by surrealize 15y ago
so that you can reference mutable shared state, but only one task/thread/function may access it at any one time and assigning or copying the pointer causes ownership to be transferred
That sounds kind of like Rust's "unique pointers".
- dkersten 15y agoYes, I think this is exactly Rust's unique pointers. Rust has a lot of interesting language features and is one of the up-and-coming languages I'm watching with interest.