My newsletter DB is broken • The Applied Go Weekly Newsletter 2026-03-08

Your weekly source of Go news, tips, and projects

Hi ,
No, the subject isn't about a story about repairing databases. It's a real problem: The database I use to collect articles and projects for each issue broke as I was halfway through editing the new entries.
I was able to extract some of the already edited entries, but the last refresh with new entries (the one that killed the DB) isn't included. So here is a reduced issue, with my apologies to you.
–Christoph
Articles, videos, talks
Allocating on the Stack - The Go Programming Language
The best language improvements are those that you don't have to do anything for! Go 1.26 has some neat improvements to memory allocation that can help to reduce the situations in which heap allocations are necessary.
Go Benchmarks — Compare Go Performance Patterns
Microbenchmarks of stdlib features. Keep in mind that microbenchmarks can only indirectly help to improve real-world projects. But it's nevertheless interesting to see how the different approaches compare.
MQTT: The Protocol Behind Every Smart Device (Golang) - YouTube
Hüseyin Babal continues exploring protocols! In this video: MQTT, the data exchange protocol for tiny things (or so). Funnily enough, the acronym "MQTT" does not stand for anything.
What canceled my Go context? | Redowan's Reflections
There is no reaction without a cause. But how to find out the exact cause of a context cancellation happening in a production system? Sure, there are the context methods WithCancelCause and WithTimeoutCause, but applying them correctly can be harder as it seems.
(This article should have been included in last week's issue already. It's marked as sent in my DB but for some reason wasn't included in the email.)
Writing Parallel File Compression with Memory Control
Sushant Dhiman learns concurrency through hands-on development: In this article, he walks through writing a concurrent file compressor.
Using PostgreSQL WAL as a Video Stream Transport in Go: A Deep Dive - YouTube
A database as a video stream replicator? Well, PostgreSQL has a "publish/subscribe" functionality through LISTEN/NOTIFY, but this technique has an 8KB payload limit. But PostgreSQL also has a streaming replication mechanism, so why not use that?
The Complete Guide to Profiling Go Services in Production
When services become slow, throwing more or better hardware at it is a quick solution, but not necessarily the best or cheapest one. Knowing the "hot spots" in your Go services may keep you from investing too much in hardware and scaling infrastructure.
Projects
Tools and applications
GitHub - ncruces/wasm2go: A Wasm to Go translator
While others seek to run Go code as WebAssembly modules (WASM), Nuno Cruces wants to run WASM as native Go. So he built a translator. Mission accomplished.
GitHub - hugocarreira/gomon: A nodemon-like file watcher for Go projects · GitHub
Why another file watcher? Aren't air and the other existing tools sufficient? Well, when the author started writing gomon years ago, these tools didn't exist. Now the author decided to make the project open source.
