Atomic reference counting (with Zig code samples)

added by DotNetKicks
9/20/2021 1:52:34 PM

437 Views

Referencing counting is probably the oldest memory management technique in existence. It is widely used, easily to understand and explain and in most cases does the Right Thing. There are edge cases and nasty scenarios, but for the most part, it works. At least, as long as you are running as a single threaded program.


0 comments