News for hackers. Stuff that matters.
Re:Nim 1.4 by karmakaze on Friday October 16, 2020 @11:04AM (#24801497)
I'm not familiar with Nim. Does it also support weak references?

A significant portion of the problems with cycles in ARC are parent references.

Re:Nim 1.4 by planetis on Friday October 16, 2020 @11:53AM (#24802027)
Weak references are possible with the .cursor pragma applied on local variables and object fields. This release introduces cursor inference too, enabled by default with --gc:arc|orc, but only for local variables.