Gist of Go: Race conditions
https://antonz.org/go-concurrency/race-conditions
Preventing data races with mutexes may sound easy, but dealing with race conditions is a whole other matter. Let's learn how to handle these beasts!
https://antonz.org/go-concurrency/race-conditions
Benchmark of Go SQLite libraries
https://gitlab.com/cznic/sqlite-bench
github.com/mattn/go-sqlite3
vs modernc.org/sqlite
vs github.com/ncruces/go-sqlite3
https://gitlab.com/cznic/sqlite-bench
OpenTelemetry for Go: measuring the overhead
https://coroot.com/blog/opentelemetry-for-go-measuring-the-overhead
Everything comes at a cost — and observability is no exception. When we add metrics, logging, or distributed tracing to our applications, it helps us understand what’s going on with performance and key UX metrics like success rate and latency. But what’s the cost?
https://coroot.com/blog/opentelemetry-for-go-measuring-the-overhead
Why I Made Peace With Go’s Date Formatting
https://preslav.me/2025/06/11/golang-date-formatting-is-fine
https://preslav.me/2025/06/11/golang-date-formatting-is-fine
Things You Never Wanted To Know About Go Interfaces
https://mcyoung.xyz/2024/12/12/go-abi
Lately I’ve been finding myself writing a bit of Go, and I’ve picked up various fun “layout secrets” that help inform how I write code to minimize hidden allocations, and generally be kind to the optimizer. This article is a series of notes on the topic.
This post is about Go implementation details, so they can probably break you at any time if you rely on it. On the other hand, Hyrum’s law is a bitch, so taking your chances may not be that bad. After all, they’re probably never going to be able to properly clean up the mess people made with //go:linkname with runtime symbols…
As with many of my other posts, I’ll assume a basic familiarity with being able to read assembly. I’m using x86 for this post, but it’s worth looking at my RISC-V post for a refresher.
https://mcyoung.xyz/2024/12/12/go-abi
netpoll
https://github.com/cloudwego/netpoll
Netpoll is a high-performance non-blocking I/O networking framework, which focused on RPC scenarios, developed by ByteDance.
https://github.com/cloudwego/netpoll
Building static binaries with Go on Linux
https://eli.thegreenplace.net/2024/building-static-binaries-with-go-on-linux
https://eli.thegreenplace.net/2024/building-static-binaries-with-go-on-linux
How to package Go applications in RHEL 10
https://developers.redhat.com/articles/2024/12/10/how-package-go-applications-rhel-10
https://developers.redhat.com/articles/2024/12/10/how-package-go-applications-rhel-10
Go 1.25 interactive tour
https://antonz.org/go-1-25
Go 1.25 is scheduled for release in August, so it's a good time to explore what's new. The official release notes are pretty dry, so I prepared an interactive version with lots of examples showing what has changed and what the new behavior is.
https://antonz.org/go-1-25
Finding performance problems by diffing two Go profiles
https://www.dolthub.com/blog/2025-06-20-go-pprof-diffing
https://www.dolthub.com/blog/2025-06-20-go-pprof-diffing
Counter Service: How we rewrote it in Rust
https://engineering.grab.com/counter-service-how-we-rewrote-it-in-rust
The Integrity Data Platform (IDP) team decided to rewrite one of our heavy Queries Per Second (QPS) Golang microservices in Rust. It resulted in 70% infrastructure savings at a similar performance, but was not without its pitfalls. This article will elaborate on:
- How we picked what to rewrite in Rust.
- Approach taken to tackle the rewrite.
- The pitfalls and speed bumps along the way.
- Was it worthwhile?
https://engineering.grab.com/counter-service-how-we-rewrote-it-in-rust
Comparing Rust, JavaScript and Go for authoring WASM Components
https://obeli.sk/blog/comparing-rust-javascript-and-go-for-authoring-wasm-components/
https://obeli.sk/blog/comparing-rust-javascript-and-go-for-authoring-wasm-components/
Don't mock the database: Data fixtures are parallel safe, and plenty fast
https://www.crunchydata.com/blog/dont-mock-the-database-data-fixtures-are-parallel-safe-and-plenty-fast
https://www.crunchydata.com/blog/dont-mock-the-database-data-fixtures-are-parallel-safe-and-plenty-fast
Comparing gzip, brotli and zstd compression in Go
https://blog.kowalczyk.info/a-5hum/compressing-for-the-browser-in-go.html
https://blog.kowalczyk.info/a-5hum/compressing-for-the-browser-in-go.html
fang
https://github.com/charmbracelet/fang
The CLI starter kit. A small, experimental library for batteries-included Cobra applications.
https://github.com/charmbracelet/fang
unregistry
https://github.com/psviderski/unregistry
Push docker images directly to remote servers without an external registry
https://github.com/psviderski/unregistry
makefile-graph
https://github.com/dnaeon/makefile-graph
makefile-graph is a Go module and CLI application, which parses GNU Make's internal database and generates a graph representing the relationships between the discovered Makefile targets.
https://github.com/dnaeon/makefile-graph
lazycontainer
https://github.com/andreybleme/lazycontainer
A terminal UI to manage Apple Containers without stress. Written in Go with Bubbletea
https://github.com/andreybleme/lazycontainer
Generic interfaces
https://go.dev/blog/generic-interfaces
There is an idea that is not obvious until you hear about it for the first time: as interfaces are types themselves, they too can have type parameters. This idea proves to be surprisingly powerful when it comes to expressing constraints on generic functions and types. In this post, we’ll demonstrate it, by discussing the use of interfaces with type parameters in a couple of common scenarios.
https://go.dev/blog/generic-interfaces