Go race detector
Shares rank 5 of 6 sanitizers by recommenders
People recommend it as a built-in Go tool that is easy to enable with the -race flag and useful for finding race conditions. The most common caveat is that it helps less with races that are hard to trigger.
People recommend it as a built-in Go tool that is easy to enable with the -race flag and useful for finding race conditions. The most common caveat is that it helps less with races that are hard to trigger.
6 people gave an opinion
- recommend it
- 5
- criticize it
- 1
- approval share
- 83%
Recommended in 4 of 13 months
- November 2025: not recommended
- December 2025: not recommended
- January 2026: not recommended
- February 2026: recommended
- March 2026: not recommended
- April 2026: recommended
- May 2026: not recommended
- June 2026: not recommended
- July 2026: recommended
- August 2026: not recommended
- September 2026: 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.
- 5 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 4 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Excellent at finding race conditions
“The race detector is legitimately excellent and every language needs it”
Comment from 27 Sep 2026 in “Go Concurrency Distilled” “run Go with the race detector to figure out if they really happen”
Comment from 1 Jul 2026 in “The Return of Aspect Oriented Programming” “Go has great tooling for debugging race conditions.”
Comment from 14 Feb 2026 in “Understanding the Go Compiler: The Linker” Built into Go, enabled with -race
“Go has a pretty good race detector already, and all it (usually) takes to enable it is passing the -race flag”
Comment from 17 Feb 2026 in “Using go fix to modernize Go code” “Go has a built in race detector which may be useful for this too”
Comment from 5 Apr 2026 in “Claude Code Found a Linux Vulnerability Hidden for 23 Years”
Other sanitizers people recommend
The four most recommended other sanitizers, 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 |
|---|---|---|---|---|---|---|
| Valgrind | 29 | 8 | 78% | 13 | — | Approved |
| Miri | 26 | 3 | 90% | 12 | — | Approved |
| AddressSanitizer | 21 | 4 | 84% | 7 | — | Approved |
| UndefinedBehaviorSanitizer | 12 | 0 | 100% | 5 | — | Approved |
| Go race detectorThis page | 5 | 1 | 83% | 4 | — | — |
What people said
All 6 comments that mention it, newest first. Each links to the original comment.
“The race detector is legitimately excellent and every language needs it”
“it doesn't help much with a race that's hard to trigger”
“run Go with the race detector to figure out if they really happen”
“Go has a built in race detector which may be useful for this too”
“Go has a pretty good race detector already, and all it (usually) takes to enable it is passing the -race flag”
“Go has great tooling for debugging race conditions.”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.