Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A tutorial to demonstrate practical alternatives to unsafe shared mutable state #8395

Closed
bstrie opened this issue Aug 8, 2013 · 4 comments
Closed

Comments

@bstrie
Copy link
Contributor

bstrie commented Aug 8, 2013

Rust deliberately restricts the use of shared mutable state out of concern for safety. However, this is no solace to users coming from other languages who are used to making effective use of shared mutable state to Get Things Done. We need a document that describes practical approaches used in rustc and Servo to safely work around this restriction.

@huonw
Copy link
Member

huonw commented Jan 3, 2014

Triage: no such tutorial (or "Guide") yet.

@pnkfelix
Copy link
Member

part of #11755

@steveklabnik
Copy link
Member

We talk about this concept in a nubmer of other places, and I'm not sure that it deserves a full tutorial on its own.

@steveklabnik
Copy link
Member

Yes, this is basically subsumed by 'write a better threads guide', which is already an open bug. comparing and contrasting different ways of dealing with shared state belongs there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants