parking_lot
Shares rank 7 of 8 Rust crates by recommenders
Recommended as a small, fast mutex with no lock poisoning, making fine-grained locking practical. Critics say its performance gains are small and it lacks priority-inversion support.
Recommended as a small, fast mutex with no lock poisoning, making fine-grained locking practical. Critics say its performance gains are small and it lacks priority-inversion support.
8 people gave an opinion
- recommend it
- 5
- criticize it
- 3
- approval share
- 63%
Recommended in 1 of 13 months
- November 2025: recommended
- December 2025: not recommended
- January 2026: not recommended
- February 2026: not recommended
- March 2026: not recommended
- April 2026: not recommended
- May 2026: not recommended
- June 2026: not recommended
- July 2026: not recommended
- August 2026: not recommended
- September 2026: not recommended
- October 2026: not recommended
- November 2026: not recommended (month in progress)
Why it doesn’t carry the badge
- 5 people recommend itNeeds 10 or more, not met.
- 1.6 recommenders for every criticNeeds 2 to 1 or better, not met.
- Recommended in 1 of 13 monthsNeeds 4 or more, not met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
Other Rust crates people recommend
The four most recommended other Rust crates, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| anyhow (Rust crate) | 34 | 10 | 77% | 5 | — | Approved |
| Rayon | 18 | 2 | 90% | 10 | — | Approved |
| thiserror | 16 | 8 | 67% | 5 | — | Approved |
| rand crate | 9 | 3 | 75% | 4 | — | — |
| parking_lotThis page | 5 | 3 | 63% | 1 | — | — |
What people said
9 of the 10 comments that mention it, newest first. Each links to the original comment.
“It does not offer the main benefit you're describing.”
“Not impossible. One way to do this is to just use parking_lot directly.”
“They had to work pretty hard to find a scenario in which `parking_lot` did much better in any performance metrics.”
“most libraries and allocations that are ok with allocation should use parking_lot mutexes”
“its performance is stellar, and it doesn't have the poisoning insanity to deal with”
“IMHO that's a very cool feature which is essentially wasted when using it as a `Mutex `”
“The main benefit of parking lot is that it makes locks very small, which then encourages the use of fine grained locking.”
“I believe parking lot doesn't have this problem.”
“it has no way of getting notified when the mutex gets unblocked nor does it support priority inversion”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.