News for hackers. Stuff that matters.
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.
Re:What Is Rust's Hole Purpose? by zozbot234 on Saturday February 19, 2022 @06:51AM (#30396416)
> 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++.)

Re:What Is Rust's Hole Purpose? by pjmlp on Saturday February 19, 2022 @08:47AM (#30397098)
Only the call is deterministic, not how long it takes to return.

Local allocators are also a thing in many languages with automatic memory management.