News for hackers. Stuff that matters.
Re:Reference Counting with Linear Types by whateveracct on Sunday June 23, 2024 @12:40PM (#40768706)
It's a ways out, but an extension to -XLinearTypes, "linear constraints", has been shown to be able to be used to implement Rust-like ownership. See Section 4 of https://richarde.dev/papers/2021/linear-constraints/linear-c...

Linear constraints are technically just sugar, but without them it's too manual with bare -XLinearTypes.

There are no comments on this comment yet.