3 ms·
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.
by karmakaze 6y ago
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.
- planetis 6y agoWeak 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.