12 ms·
> I’d be interested to see experimentation with ownership semantics in languages with higher-level memory models (which broadly means GC languages). Haskell mi
by dan00 6y ago
> I’d be interested to see experimentation with ownership semantics in languages with higher-level memory models (which broadly means GC languages).
Haskell might give a few hints how well this works. [1]
> Here’s the thing, though: it’s not just about finding a way to cope with the constraints it imposes; it’s also about thriving within the constraints it imposes, because it stops you from doing problematic things and guides you in the path of better designs much of the time (though non-linearity can definitely be a problem; it’s not all buttercups and daisies).
Oh yes, and how nice it is to have these constraints verified by the compiler. Perhaps it's this kind of assumption, that less constraints give you more power, without realizing that also the responsibility increases, and at a certain point the complexity overburdens the human mind.
Different software domains need different constraints, so the question
might be where the sweet spot between languages with different constraints
and a language with programmable constraints (aka dependent types) lies.
[1] https://www.tweag.io/blog/2020-06-19-linear-types-merged/ https://www.tweag.io/blog/2020-06-19-linear-types-merged/