WebAssembly in 5 Minutes May 25, 2025Compiling Go code into a WebAssembly module is easy as pie. Getting the code to interact with the browser requires a few lines of Javascript, but it's less complicated than you might think.
Green Tea Makes Your Life Easier (If You're A Garbage Collector) May 04, 2025The Go team develops a new garbage collector algorithm suitable for multicore CPU architectures and non-uniform memory. You can try it now!
Security: The Habits That Matter Most Apr 27, 2025Security is more crucial than ever. Making security an afterthought is a footgun. Learn how to write secure Go code from the start.
Final Destination: Go? Apr 20, 2025After a long (and exciting) journey through umpteenth of programming languages, I arrived at Go and finally feel at home.
Go Doesn't Like Import Cycles Apr 13, 2025Programming language theory doesn't rule out import cycles ... but this doesn't make them a good idea.
Functions In Templates—Embrace Or Avoid? Mar 30, 2025Go's templates allow defining custom functions for use inside the template. Nice, but type safety gets overboard. Are they still worth using?
JSON Lines Feb 27, 2024This happens when JSON and CSV have a baby. (And how your Go code can benefit from it.)
No Risk, No Fun? Beware Of Careless Use Of MCP Apr 06, 2025Letting an LLM code some tool in Go can be nice, especially when it uses tools via MCP. But there are some risks involved.
Optimize Memory Usage With slices.Clip ... NOT! Mar 16, 2025Clipping a slice doesn't free any memory. What is slices.Clip() good for then?