Y
Hacker News
new
|
ask
|
show
|
jobs
by
karmakaze
2071 days 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.
1 comments
planetis
2071 days ago
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.
link