Hacker ApprovedDepartments

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%
Each figure is one person. RecommendsCriticizes

Recommended in 4 of 13 months

  1. November 2025: not recommended
  2. December 2025: not recommended
  3. January 2026: not recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: not recommended
  11. September 2026: recommended
  12. October 2026: not recommended
  13. 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.

Go race detector compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Valgrind29878%13—Approved
Miri26390%12—Approved
AddressSanitizer21484%7—Approved
UndefinedBehaviorSanitizer120100%5—Approved
Go race detectorThis page5183%4——
See all 6 sanitizers, ranked

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”

RecommendsComment from 27 Sep 2026 in “Go Concurrency Distilled”

“it doesn't help much with a race that's hard to trigger”

CriticizesComment from 13 Aug 2026 in “Tailscale Traces Database Corruption to 16y/o SQLite WAL-Reset Bug”

“run Go with the race detector to figure out if they really happen”

RecommendsComment from 1 Jul 2026 in “The Return of Aspect Oriented Programming”

“Go has a built in race detector which may be useful for this too”

RecommendsComment from 5 Apr 2026 in “Claude Code Found a Linux Vulnerability Hidden for 23 Years”

“Go has a pretty good race detector already, and all it (usually) takes to enable it is passing the -race flag”

RecommendsComment from 17 Feb 2026 in “Using go fix to modernize Go code”

“Go has great tooling for debugging race conditions.”

RecommendsComment from 14 Feb 2026 in “Understanding the Go Compiler: The Linker”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.