Comment

Comment by Eerie

>Unless you mean that some data is shared, but cannot be modified, but this would be semantically identical to not sharing anything.

That's the gist of Rust's borrow checker. Shared data can't be modified (unless you use a Mutex or something similar, but then you need to acquire a lock, so data you can mutate is not shared).

parent Eerie 9 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton