The story’s score and claims

Comments on No. 130 of 140 · bertptrs.nl · edition of Friday 20 November 2026

Mutex poisoning is not for everyone

Summary

The author argues that Rust's default of mutex poisoning is a mistake for most applications. Poisoning adds a flag to every mutex, inflates generated code with panic-handling paths, and forces unwrap-style boilerplate, all to guard a niche case where a panic leaves a critical section half-finished.

Comments

Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules