Stable address map with UnsafePinned: Sound or not?

194 · Users Rust Lang · April 25, 2026, 8:24 p.m.
Summary
The post discusses a novel approach to creating a stable address map using Box<UnsafePinned<T>> in Rust, offering insights into memory stability across reallocations and the implications of using Pin. The author reflects on safety invariants and the potential for a HashMap implementation, inviting feedback on the soundness of the approach.