Get the latest tech news

Reference Counting with Linear Types


Reference counting with linear types. Contribute to alt-romes/reference-counting development by creating an account on GitHub.

At that point in time, I was fortunately reading TAPL2 which has a chapter on reference counting with linear types which also inspired me to write a draft version of this library. The point of this candidate release is to receive feedback on the design and its flaws -- I'm very interested if you discover it is unsound -- it has been a while since I wrote this first, and some things look suspicious to me now. Despite my uneasiness, I have to say, as a pratical statement of reliability, that it has been working wonderfully as a central point in resource management within the engine[1].

Get the Android app

Or read this on Hacker News

Read more on:

Photo of linear types

linear types

Photo of Reference Counting

Reference Counting

Related news:

News photo

Higher RAII and the seven arcane uses of linear types