Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
yangl1996
on March 2, 2020
|
parent
|
context
|
favorite
| on:
Rust Ownership Rules
Rust compiler forbids multiple threads to access the same memory location not protected by a Mutex.
hexaga
on March 2, 2020
[–]
That is, only when said memory location is accessed mutably. Immutable references are perfectly ok to follow concurrently.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: