Hacker GitHub

← All repos

Storyyeller/stable_deref_trait

View on GitHub ↗ ★ 38 Rust

Unsafe marker trait for types that deref to a stable address

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2022-06-15 · latest 2022-06-27

Mentions per year 3 mentions · busiest year 2022 (3)
20082026
  1. …, which is unsound for Box and violates stacked borrows in its current form ( https://github.com/Storyyeller/stable_deref_trait/issues/15 ). However, the rules may be relaxed or more ergonomic alternatives added ( https://github.com/rus
    comment by nyanpasu64 · 2022-06-27 · in Build a PinePhone App with Zig and Zgt
  2. …, which is unsound for Box and violates stacked borrows in its current form: https://github.com/Storyyeller/stable_deref_trait/issues/15 There is a recurring trend of sound C programs turning into unsound Rust programs, because shared
    comment by nyanpasu64 · 2022-06-23 · in How safe is Zig?
  3. …doesn't work out}, and working with aliasing pointers is so difficult (a representative example is https://github.com/Storyyeller/stable_deref_trait/issues/15 ) that I'd rather write C++ than unsafe Rust.