Armin Ronacher makes the case to abolish Rust lock poisoning
mitsuhiko · x · 2026-11-25
Armin Ronacher argues Rust's mutex poisoning should be removed or made exceptional. He's never seen real-world code that handles PoisonError correctly, and plenty that mishandles it. Josh Triplett notes the stdlib has never seen one report of successful poison recovery. With panic="abort" poisoning never triggers; idiomatic lock().unwrap() picks the worst of both worlds. The libs team is debating making non-poisoning locks the default next edition.
More from coding & agent
- Live show with 40+ creators shares lessons on driving AI creation — jacob_posel · 2026-11-25
- ByteByteGo chart compares 6 agentic orchestration frameworks from LangGraph to Claude Agent SDK — bibryam · 2026-11-25
- MacBook notch becomes a coding-agent status bar — nod with AirPods to approve Claude Code — alvelda · 2026-11-25
- Addy Osmani's guide: hand PR follow-up work to Claude Code's /ship and stay in flow — ClaudeDevs · 2026-11-25
- Dev Pushes Back: With Coding Agents, Building Is Easier Than Maintaining — therealdanvega · 2026-11-25
- Voice Agent 700ms Slower for European Callers: A Practical Latency-Per-Region Setup — Own_Giraffe987 · 2026-11-25