#592 — March 6, 2026
Go Weekly
Allocating on the Stack in Go 1.25+ — Go 1.25 and 1.26 reduce garbage collector overhead by stack-allocating slices in more cases than ever before — including, in 1.26, slices that eventually escape to the heap. "The optimization that Go 1.26 does is actually better than the hand-optimized code" is always good to read. Let Keith explain how this all... stacks up.
Keith Randall (Go Team)
Keep Your Stack Simple. Extend Postgres — Adding a second database means pipelines, sync lag, and drift that never go away. TimescaleDB extends Postgres so analytics runs on live data. Hypertables, 95% compression, continuous aggregates. One database. Start building for free.
Tiger Data (creators of TimescaleDB) sponsor
Go 1.26.1 and 1.25.8 Released — Security oriented releases incorporating five different fixes around crypto/x509, html/template (URLs in meta content attributes are not escaped), net/url and os (FileInfo can escape from a Root).
Cherry and David (Go Team)
Mutate Your Locked State Inside a Closure — Even perfectly locked Go code can silently lose updates, and the race detector won’t catch it. Here’s how a small generic wrapper makes that class of bug harder to introduce.
Redowan Delowar
Best Practices for Secure Error Handling in Go — A look at some common patterns for safely creating, wrapping, propagating, and logging errors across trust boundaries including, at the end, how the GoLand IDE can help.
Dominika Stankiewicz (JetBrains)
▶ Why We Can't Have Nice Things: Generic Methods — The proposal for generic methods has since been accepted , but this newly-uploaded talk from 2025 gives some interesting background as to why it took so long to reach consensus on the matter.
Axel Wagner
Build Reliable Systems with Go at Replay 2026 — Learn proven reliability patterns at scale and join the Go workshop to build with Temporal. Save with GO80.
Temporal Technologies sponsor
📄 Why Go Can't try – "Go’s refusal to add a try keyword isn’t about loving boilerplate." Niket Patel
🤖 Why Go is the Best Language for AI Agents Burak Karakan
📄 Fooling Go's X.509 Certificate Verification Daniel Mangum
🛠 Code & Tools
Revive 1.15: A Faster, Configurable, Flexible Linter for Go — A drop-in replacement of golint that aims to provide more structure, configurability, and performance that’s used by numerous popular projects and libraries. Its README does a good job of explaining how it differs from golint.
Minko Gechev
ro: Streams and Reactive Programming for Go — A Go implementation of the ReactiveX Observer pattern from the creator of lo. v0.3 introduces a new SIMD plugin that uses Go 1.26’s experimental SIMD support for faster sums, min/max, reducing, etc. GitHub repo.
Samuel Berthe
💡 For that matter, the latest version of lo also includes some SIMD magic.
oapi-codegen 2.6: Generate Go Boilerplate from OpenAPI 3 Specs — A tool and library for converting OpenAPI specs to Go code, both server and client-side. This release celebrates the project’s seventh anniversary and focuses largely on cleanups and tweaks to stay up to date.
Various Contributors
🎨 Swatchify: Extract Dominant Colors from Images — Available as a Go-based library, CLI, or JavaScript library, Swatchify uses k-means clustering to get the dominant colors in an image. GitHub repo.
James Campbell
Zen: A Minimalist HTTP Library for Go — A net/http wrapper that suits a schema-first approach and allows precise control over middleware execution order. GitHub repo.
Andreas Thomas
betteralign 0.9: Make Your Programs Use Less Memory.. Maybe — Detects structs that could use less memory if their fields were organized differently and rewrites them if you want. It’s a fork of Go’s fieldalignment tool but with numerous DX enhancements.
Dinko Korunic
-
🖼️ govips 2.17 – Fast libvips-powered image processing and resizing in Go. Now has PSD support, a gravity function, faster
image.Imageinterop, and more. -
eBPF 0.21 – Pure Go loading, compilation, and debugging of eBPF programs.
-
🔒 Tinyauth 5.0 – Easy authentication middleware for Docker apps.
-
go-github 84.0 – Client library for accessing GitHub's v3 REST API.
-
💬 slack-go 0.19 – Widely used library for interacting with Slack's API.
-
Robotgo 1.0.1 – Desktop mouse and keyboard automation library.
-
Gin 1.12 – Popular high-perf web framework for building APIs.
-
urfave/cli 3.7 – Popular declarative CLI tooling package.
-
Circuit 4.1 – Hystrix-like circuit breaker implementation.
-
✉️ go-premailer 1.32 – Inlines CSS into HTML emails.
📢 Elsewhere in the ecosystem
-
🤖 A core member of the Ruby core team, Yusuke Endoh, got Claude Code to implement a basic Git clone in thirteen languages, including Go, to see how quickly, and cheaply, it would produce code in each language. Go led the way amongst typed languages.
-
Locutus is a project that brings together TypeScript ports of standard libraries from fifteen other programming languages, including Go. The Go collection is made up of 79 functions so far covering eight modules.
-
If you're a Hacker News reader, you might like this project for 'skinning' HN for a nicer reading experience.
-
An interactive version of the famous xkcd comic about single-person dependencies, courtesy of p5.js.