News for hackers. Stuff that matters.
Re:Simple, Fast and Safe Manual Memory Management [pdf] by snaky on Thursday September 28, 2017 @11:49AM (#15358048)
Maybe linear types actually, affine is not enough?
Re:Simple, Fast and Safe Manual Memory Management [pdf] by frankmcsherry on Thursday September 28, 2017 @03:24PM (#15359991)
I suspect affine is fine, but I'm not an authority. The distinction (as I understand it) is only that linear types require that you consume all instances, whereas affine allow you to leak if you want. Leaking doesn't seem to lead to dangling pointers, but I've been wrong before.