Y
Hacker News
new
|
ask
|
show
|
jobs
by
Animats
4129 days ago
You need to use weak pointers for backpointers in Rust, because there's no GC. If you create a cycle with reference counted objects, objects are never released and the program will leak memory.
1 comments
pjmlp
4129 days ago
Of course, but my question was
why it wasn't explained
, I know very well the reason why weak pointers are required.
link