Skip to content

Book Conflates Affine Types and Regions #23642

Closed
@anasazi

Description

@anasazi
Contributor

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.

Activity

added a commit that references this issue on Mar 23, 2015
05c9728
added a commit that references this issue on Mar 24, 2015

rollup merge of rust-lang#23645: steveklabnik/gh23642

7380b6f
added a commit that references this issue on Mar 24, 2015

Rollup merge of rust-lang#23645 - steveklabnik:gh23642, r=brson

01a7947
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @steveklabnik@anasazi

      Issue actions

        Book Conflates Affine Types and Regions · Issue #23642 · rust-lang/rust