A new experimental Go API for JSON

Go 1.25 introduces experimental support for encoding/json/jsontext and encoding/json/v2 packages.

Early return and goroutine leak

At work, a common mistake I notice when reviewing candidates’ home assignments is how they wire goroutines to channels and then return early. The pattern usually looks like this: start a few goroutines each goroutine sends a result to its own unbuffered channel in the main...

Hilbert space: treating functions as vectors

The tools of linear algebra are extremely useful when working in Euclidean space (e.g. \mathbb{R}^3). Wouldn’t it be great if we could apply these tools to additional mathematical constructs, such as functions and sequences? Hilbert space allows us to do exactly this - apply li...

.gitignore everything by default

We’ve all been there. You’re working on a project, making commits, and suddenly realize you’ve been committing .DS_Store files, node_modules, IDE configuration files, or other junk that shouldn’t be in your repository. Then comes the embarrassing cleanup:...

Go 1.25.1-1 and 1.24.7-1 Microsoft builds now available

A new release of the Microsoft build of Go including security fixes is now available for download. The post Go 1.25.1-1 and 1.24.7-1 Microsoft builds now available appeared first on Microsoft for Go Developers.

Deploy Hugo static site to Hetzner

Recently I ditched my AWS account and moved my personal small projects to a Hetzner VPS, what a nice feeling tinkering with your own server again! As a part of this process I also had to change how I deploy this blog, so I thought I would share my setup in case anyone else is int...

Announcing GoReleaser v2.12

This version introduces the new version of the Docker integration, Docker image attestation, Makeself packaging support, Go 1.25, and much more!

Benchmarking Go SQLite libraries

#​568 — September 3, 2025 Read the Web Version Go Weekly 😎 A-go-ha! Gopher Hawaiian Shirt Patterns — Humor me for this item in the last gasps of summer! In 2023, Russ Cox worked with Renee French (the creator of the Go gopher mas...

In GNU Emacs, I should remember that the basics still work

Lifecycle management in Go tests

Unlike pytest or JUnit, Go’s standard testing framework doesn’t give you as many knobs for tuning the lifecycle of your tests. By lifecycle I mean the usual setup and teardown hooks or fixtures that are common in other languages. I think this is a good thing because y...