Re:Reference count, don't garbage collect
by kibwen on Saturday July 30, 2022 @12:53AM
(#32284379)
If you want to get even more precise, call it automatic dynamic memory management. Automatic static memory management would be something like Rust's scope-based memory reclamation via ownership.
[ Parent
| on HN ]
Great to confuse more people instead of properly learning about affine type systems.
There's no confusion here? This is a perfectly natural classification, that satisfies many people's intuition about Rust as having "compile-time GC". If anything, bringing up affine type systems is more liable to confuse people in this context; just because a language has an affine type system doesn't necessarily mean it needs to use it for memory management.