Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
steveklabnik
on Feb 23, 2018
|
parent
|
context
|
favorite
| on:
Why writing a linked list in safe Rust is so damne...
Sync is implemented automatically for most types; if you want to tell the compiler something is Sync when it thinks it isn’t, that’s when you need unsafe.
Same with Send, which is more primitive than Sync.
zenhack
on Feb 23, 2018
[–]
Ah, point. That would probably need to change to relax the one mutable reference constraint, if you wanted to.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Same with Send, which is more primitive than Sync.