News for hackers. Stuff that matters.
Re:Simple, Fast and Safe Manual Memory Management [pdf] by frankmcsherry on Thursday September 28, 2017 @10:04AM (#15357164)
Ownership / affine types?

It's hard to say, because some folks will jump up and down and say "reference counting is GC!", and then some folks could just as justifiably say "regions are GC!"

Re:Simple, Fast and Safe Manual Memory Management [pdf] by sitkack on Thursday September 28, 2017 @11:07AM (#15357604)
Anything less than being able to track memory lifetime at compilation is GC.

Some folks will jump up and down and say "variable sized allocation is sloppy!"

GC is a spectrum on which reference counting lives. Is there an arch that supports bidirectional references?

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.