Hacker News new | ask | show | jobs
by pjmlp 2400 days ago
Does it prevent stack overflows and stop-the-world delays in complex data structures?

Two common problems in most reference counting implementations.

1 comments

IIUC Rust stack overflows are actually checked, hit a guard page, and unwind the stack https://github.com/rust-lang/compiler-builtins/blob/master/s...

A cactusref is owned by a single thread so there's no STW issue, but you also can't share them mutably between threads like structures available in some GCed languages.

Thanks