TGViewer
Блог* Блог* @dereference_pointer_there · 1.98K subscribers
Post #10512 1.13K
#prog #rust #article

In defense of lock poisoning in Rust

<...> I keep coming back to how unbounded the downside of an undetected panic is, and how easy it is to get wedged in this state. Mutexes and poisoning have value separate from each other, but I don’t think they are as independent as they seem at first. My understanding from writing Rust code over many years is that almost all uses of mutexes benefit from poisoning, and almost all instances of poisoning one needs to care about are with mutex-guarded data.
More from @dereference_pointer_there
  1. Oct 14, 2026r/rust (потому что написано вроде на Tauri)
  2. Oct 14, 2026advanced <...> technology such as a shopping cart
  3. Oct 14, 2026Source
  4. Oct 14, 2026#prog #rust #rustasync #article Tokio Gives Progress, Not Ordering: Scheduling 1M Tasks TL…
  5. Oct 14, 2026#game Slay the Spire 2
  6. Oct 13, 2026#prog #rust #suckassstory github.com/rust-lang/rust/issues/164250 use std::sync::Mutex; st…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →