News for hackers. Stuff that matters.
Re:Reference count, don't garbage collect by brabel on Saturday July 30, 2022 @04:08AM (#32285159)
Is the Pony language's GC a GC then? It runs at determinate times, namely when a behaviour (an actors' receive function, basically) finishes running... and because actors cannot share mutable state, and immutable values with more than one owner can be handled easily by a simple common parent actor, each actor's GC is completely independent of each other.

Things are rarely as clear cut as we would want to believe.

Re:Reference count, don't garbage collect by viktorcode on Saturday July 30, 2022 @01:14PM (#32288449)
> Is the Pony language's GC a GC then? It runs at determinate times, namely when a behaviour (an actors' receive function, basically) finishes running...

It is. It might run when a behaviour finishes running, according to their docs.