Why region based memory allocation help with fragmentation

Go code snippets

AWKGo, an AWK-to-Go compiler

A discussion of AWKGo, a simple compiler that translates a useful subset of the AWK text processing language into Go source code.

Testing Linux packages on GitHub Actions

One issue we had from time to time on GoReleaser was related to its Linux packages. We had a single map from GOARCH to Linux arch, when in fact, each package manager might have their own. That led to less popular packages (e.g. arm) to report the wrong architecture and thus be no...

Why your Go programs can surprisingly be dynamically linked

Serverless Application Stack

The dream of a serverless, general-purpose, portable application stack is finally a reality. TL;DR: deploy your application to GCP Cloud Run with a CockroachDB Serverless instance for persistence. Read on for a deeper dive. Serverless compute AWS Lambda revolutionized the industr...

Improving the code from the official Go RESTful API tutorial

My re-implementation of the code from the official Go tutorial 'Developing a RESTful API with Go and Gin', using only the standard library, adding tests, and fixing issues.

Go 1.18 will let you set the version of the "AMD64" architecture to target

Announcing GoReleaser v1 — the first v1 release

Hello everyone! I’ve been holding on the “v1” release for, checks notes, years now. That’s because I wanted v1 to have a “stable enough API”, i.e. something unlikely to change. A couple of months ago I realized that we’ll probably never r...

Why I maintain my private changes to upstream projects via rebasing