#561 — July 9, 2025 |
|
Go Weekly |
![]() |
What's Miguel Young |
Generic Interfaces — Axel presents the idea that as interfaces are types themselves, they too can have type parameters. He shows how this lets you write one core implementation of a binary search tree and support built-in, callback-based, or method-based comparisons, before moving on to deeper concepts. There's a lot to get your teeth into here. Axel Wagner |
![]() Build Containers from Scratch — Start with raw Linux tools like chroot, namespaces, and cgroups to truly understand how containers work. Then build your own with Docker and deploy them using Kubernetes. Frontend Masters sponsor |
IN BRIEF:
|
Serving 200 Million Requests Per Day with Jake Gold |
▶️ How I Recreated Shazam's Algorithm from Scratch – A fun look at implementing a music detection algorithm from scratch. Go does the heavy lifting and there’s source. Chigozirim 📄 An Optimization and Debugging Story with Go and DTrace Philippe Gaultier 📄 Developing a Terminal UI in Go with Bubble Tea – Good high level advice. Alex Pliutau 📄 Am I Online? – An interesting way to see if your app is truly online by checking a special Google URL. Anton Zhiyanov |
🛠 Code & Tools |
![]() |
doWM: A Tiling and Floating Window Manager for X11 — A fast, lightweight window manager written entirely in Go. You’ll need to be proficient with Linux, however, but this could be a great gateway into tweaking something that feels right for you. GitHub repo. BobdaProgrammer |
🕹️ GORE: A Pure Go Minimal 'Doom' Implementation — A few months ago we linked to doomgeneric, an initial effort to transpile 1993’s Doom to Go. This cleans it up a lot, makes it more “Go-ish” and platform agnostic, and.. it can even render the game on the terminal! Andre Renaud |
Effortless Go Contract Testing: Inferred Automatically From Traffic — Stop hand-crafting brittle contracts. See how they can be inferred from real traffic and updated as your Go APIs evolve. Signadot sponsor |
go-ytdlp: Liam Stanley |
Minimock: A Tool to Generate Mocks from Interface Declarations — Generates statically typed mocks and helpers, is fully integrated with the Juno Inc. |
Lox: A Lexer and Parser Generator for Go — Inspired by ANTLR at the surface level (combined parser and lexer, action code separated from grammar) but more similar to dcaiafa |
|