News for hackers. Stuff that matters.
Re:Ante: A low-level functional language by sargun on Friday June 17, 2022 @02:43PM (#31782543)
Is there a reason not to force a linear typing system (at first) -- a la mercury? To simplify the lifetime analysis? And then in later versions that can be relaxed to affine typing, and then subsequently normal lifetimes?
Re:Ante: A low-level functional language by jfecher on Friday June 17, 2022 @03:16PM (#31782972)
Lifetime inference originates from region inference which is actually completely unrelated to linear/affine/uniqueness typing. Uniqueness typing can definitely complement lifetime inference, but isn't really generalizeable to it.