logoalt Hacker News

oulipo2yesterday at 10:56 PM1 replyview on HN

So linear type + mutable value would be quite close to Rust, right?


Replies

steveklabnikyesterday at 10:57 PM

Rust has affine types, not linear. It also doesn't have mutable value semantics, it uses references, lifetimes, and borrowing.

show 1 reply