# Surelock

Hacker Approved page: https://hackerapproved.com/p/surelock/

5 people recommended Surelock in Hacker News comments, 1 had mixed feelings and 2 criticized it, November 2025 to October 2026. It was recommended in 1 of 12 months, in 1 thread. It does not meet the Hacker Approved badge rule.

5 of the 5 people who recommend it commented in one thread, “Surelock: Deadlock-Free Mutexes for Rust”.

**Verdict:** A Rust mutex library that enforces a total lock ordering to prevent deadlocks, praised for clear, explicit design without macros. Critics note it doesn't detect locking the same mutex twice.

Summary written by Claude from 8 comments.

## Why people recommend it

- Rigorous lock ordering prevents deadlocks (2 comments in the sample): "It’s great to see more 'DB-style' rigour (like total ordering for locks) making its way into library design." ([source](https://news.ycombinator.com/item?id=47732652)) "That's pretty awesome. Dead locks are extremely tough to debug." ([source](https://news.ycombinator.com/item?id=47732348))
- Well-designed, well-written library (2 comments in the sample): "the second restriction seems to me to be fundamental to the design" ([source](https://news.ycombinator.com/item?id=47732921)) "This is a well written article about a well written library." ([source](https://news.ycombinator.com/item?id=47735713))

## Other Rust crates people recommend

- [anyhow (Rust crate)](https://hackerapproved.com/p/anyhow/): 22 recommend, 9 mixed, 10 criticize
- [thiserror](https://hackerapproved.com/p/thiserror/): 15 recommend, 1 mixed, 8 criticize
- [Rayon](https://hackerapproved.com/p/rayon/): 13 recommend, 2 mixed, 2 criticize
- [Facet (Rust reflection library)](https://hackerapproved.com/p/facet/): 6 recommend, 0 mixed, 2 criticize

## The badge

A product earns the Hacker Approved badge when at least 10 people recommend it, recommenders outnumber critics at least 2 to 1 (mixed feelings count toward neither side), it was recommended in at least 4 of the 12 months and in at least 5 different threads, and no single thread supplies more than half of the people who recommend it. Health and money products are never badged.

## Cite as

Hacker Approved, "Surelock", https://hackerapproved.com/p/surelock/ (5 recommend, 1 mixed, 2 criticize; Hacker News comments, November 2025 to October 2026).

Counts updated 2 Nov 2026, with data through October 31, 2026.
