Re:What Is Rust's Hole Purpose?
by pjmlp on Friday February 18, 2022 @04:44PM
(#30391503)
Pauses happens when using Rc types with a cascade deletion of deeply nested data structures, and if Drop are incorrectly written, even a possible stack overflow might occur.
[ Parent
| on HN ]
> Pauses happens when using Rc types with a cascade deletion of deeply nested data structures
True, but this is inherent to deterministic deallocation. Rust is getting local allocator support to make it easier to manage these tradeoffs. (Local allocators are commonly used already in C/C++.)