Skip to content
Rust Search
← FOSDEM 2025

Abusing reborrowing for fun, profit, and a safepoint garbage collector

FOSDEM

Rust's references adhere to a strict "one exclusive XOR many shared" model, which gives the language much of its greatest safety guarantees. Reborrowing is a feature that seems on surface to break this rule: An exclusive reference can be turned into shared references and those shared references can be used together with the exclusive reference as long as these are all used as if they were shared references. Only once the exclusive reference is used as exclusive, all the derived or "reborrowed" s

Recording not playing? Use the FOSDEM link above.