1
Go: Sentinel errors and errors.Is() slow your code down by 3000%
An exhaustive set of benchmarks on different ways to approach error handling in Golang. We demonstrate that common sentinel error idioms are slow your code down by 5x.
DoltHub is where people collaboratively build, manage, and distribute Dolt databases. Dolt is the world's first and only version controlled database, think Git and MySQL had a baby.
Visit dolthub.com → On Hacker News Mar 2020 – Nov 2025
Databases & Data 10Software Engineering 6Society, Policy & Culture 4Math & Algorithms 2Programming Languages 2Tech Industry & Business 2
An exhaustive set of benchmarks on different ways to approach error handling in Golang. We demonstrate that common sentinel error idioms are slow your code down by 5x.
Blog for DoltHub, a website hosting databases made with Dolt, an open-source version-controlled SQL database with Git-like semantics.