Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Affine and linear types and variants (ownership types, uniqueness types) can model predictable release of resources, like a compiler-enforced C++'s RAII.

As another commenter put,

> The paper explains it's because they want deterministic destructors for things like file handles.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: