Go 1.22 Released
Everyone’s going loopy about Go’s latest language changes. Nobody seems to have noticed an important fix
Everyone’s going loopy about Go’s latest language changes. Nobody seems to have noticed an important fix
Learn how PGO improves use of inlining and CPU instruction caches. I show how to get biggest boost for your projects by using the right CPU profile
Easily track down performance problems with flame graphs.
Why it’s important to use defer for maintainability and in the presence of panics. I also look at some common pitfalls.
The other “directive” that I didn’t cover last week is //go:build. This time I look at how and why you would use build tags and the new syntax.