News for hackers. Stuff that matters.
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.
Re:Reference count, don't garbage collect by pjmlp on Saturday July 30, 2022 @04:09AM (#32285164)
Great to confuse more people instead of properly learning about affine type systems.
Re:Reference count, don't garbage collect by kibwen on Saturday July 30, 2022 @09:39AM (#32286732)
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.