News for hackers. Stuff that matters.
Re:Linear types can change the world (1990) [pdf] by kbr on Tuesday January 09, 2018 @07:03PM (#16111379)
Linear types are different from immutable types. You can change the value of a linear type as long as you used the previous value somewhere else (for example i = i + 1). Languages like Rust leverage affine types (another substructural type system similar to linear type systems) in order to guarantee memory safety.

There are no comments on this comment yet.