# Miri

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

20 people recommended Miri in Hacker News comments, 3 had mixed feelings and 3 criticized it, November 2025 to October 2026. It was recommended in 11 of 12 months, in 18 threads. It meets the Hacker Approved badge rule.

**Verdict:** Free Rust tool that runs your tests and flags undefined behavior and memory violations in unsafe code. Critics say it has bugs and limitations and cannot catch everything.

Summary written by Claude from 31 comments. It was written before the November 2026 recount, and 28 of those comments still count.

## Why people recommend it

- Catches undefined behavior at runtime (4 comments in the sample): "you can also verify the unsafe implementation using Miri which is a significantly strong runtime checker" ([source](https://news.ycombinator.com/item?id=45890104)) "run those tests under Miri, which will loudly complain if you perform any memory-unsafe operations" ([source](https://news.ycombinator.com/item?id=47946975)) "You can run your pointer-fiddling code in Miri today to check that you're following the rules." ([source](https://news.ycombinator.com/item?id=46234169))
- Useful for crates that use unsafe (2 comments in the sample): "If you have a codebase that uses unsafe, I highly recommend running your tests through Miri" ([source](https://news.ycombinator.com/item?id=46468332)) "It is a great tool for those of us that have crates that need to use unsafe" ([source](https://news.ycombinator.com/item?id=46468039))
- Stronger than sanitizers (2 comments in the sample): "run `miri`, which is like a sanitizer on steroids" ([source](https://news.ycombinator.com/item?id=47073076)) "Miri is a stronger proof than sanitizers" ([source](https://news.ycombinator.com/item?id=50196927))
- Easy to run from the command line (1 comment in the sample): "Rust has things like miri that can help you write your unsafe code and it's just a command line invocation away." ([source](https://news.ycombinator.com/item?id=48978146))

## Other sanitizers people recommend

- [Valgrind](https://hackerapproved.com/p/valgrind/): 21 recommend, 7 mixed, 8 criticize
- [AddressSanitizer](https://hackerapproved.com/p/addresssanitizer/): 16 recommend, 4 mixed, 3 criticize
- [UndefinedBehaviorSanitizer](https://hackerapproved.com/p/undefinedbehaviorsanitizer/): 10 recommend, 1 mixed, 0 criticize
- [Go race detector](https://hackerapproved.com/p/go-race-detector/): 5 recommend, 0 mixed, 1 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, "Miri", https://hackerapproved.com/p/miri/ (20 recommend, 3 mixed, 3 criticize; Hacker News comments, November 2025 to October 2026).

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