News for hackers. Stuff that matters.
Re:JavaScript garbage collection and closures by sam_perez on Tuesday July 30, 2024 @05:23PM (#41114273)
Yeah, this does seem like an odd middle ground.

But I suppose it's more about what you're tracking? For example, instead of tracking reference counts to variable, they're tracking reference counts to each scope. Then, if a scope has no more references, the variables it owns are cleaned up.

There are no comments on this comment yet.