# Rust's Mutex Poisoning Is a Cost Every Program Pays and Almost None Need

Original title: Mutex poisoning is not for everyone

> Hacker News story 50589701 · language: en · submitted 2026-11-21
> Web version: https://zeli.app/story/50589701
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 20 · by [birdculture](<https://news.ycombinator.com/user?id=birdculture>) · 💬 4
[original](<https://bertptrs.nl/2026/11/16/mutex-poisoning-is-not-for-everyone.html>) · [HN discussion](<https://news.ycombinator.com/item?id=50589701>)

## Summary

Mutex poisoning has been a default in Rust since the beginning, but it inflates every lock with extra atomics, poison checks, and panic machinery — turning a 34-line assembly fast path into 147 lines — to guard against a rare invalid-state scenario. The author argues the common case should be easy and the rare case merely possible, and welcomes the non-poisoning mutexes now landing in nightly.

## Key quote

> Rust's default behaviour should make the common case easy and the rare case possible.

---

## Cite

- Page: https://zeli.app/story/50589701
- Date: 2026-11-21
- Source: bertptrs.nl (https://bertptrs.nl/2026/11/16/mutex-poisoning-is-not-for-everyone.html)
- Hacker News: https://news.ycombinator.com/item?id=50589701

## Other languages

- zh: https://zeli.app/zh/story/50589701 · markdown: https://zeli.app/zh/story/50589701.md
- ja: https://zeli.app/ja/story/50589701 · markdown: https://zeli.app/ja/story/50589701.md
- ko: https://zeli.app/ko/story/50589701 · markdown: https://zeli.app/ko/story/50589701.md
- de: https://zeli.app/de/story/50589701 · markdown: https://zeli.app/de/story/50589701.md
- es: https://zeli.app/es/story/50589701 · markdown: https://zeli.app/es/story/50589701.md
- ru: https://zeli.app/ru/story/50589701 · markdown: https://zeli.app/ru/story/50589701.md
