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

Book Conflates Affine Types and Regions #23642

Closed
anasazi opened this issue Mar 23, 2015 · 0 comments · Fixed by #23645
Closed

Book Conflates Affine Types and Regions #23642

anasazi opened this issue Mar 23, 2015 · 0 comments · Fixed by #23645

Comments

@anasazi
Copy link
Contributor

anasazi commented Mar 23, 2015

In the Boxes subsection of the Pointers section, the book claims "boxes are a specific kind of affine type, known as a region". This is not correct. Affine types are not regions. Affine types are a kind of substructural type system. Regions are a kind of type and effect system. They're two very distinct ideas that can be used for similar purposes.

I would suggest moving the reference to the Cyclone paper to the References subsection at the end of the discussion of region points and lifetimes. The paper Experience With Safe Manual Memory-Management in Cyclone could be good to cite in the Boxes section. It discusses adding unique pointers to Cyclone.

steveklabnik added a commit to steveklabnik/rust that referenced this issue Mar 23, 2015
alexcrichton added a commit to alexcrichton/rust that referenced this issue Mar 24, 2015
Manishearth added a commit to Manishearth/rust that referenced this issue Mar 24, 2015
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

Successfully merging a pull request may close this issue.

2 participants