Posts by Tag

release

Go 1.25 Is Here!

25 minute read

Go 1.25 has some nice useful additions, and some that are overhyped

Go 1.24 Released

22 minute read

Go 1.24 has some nice performance and testing improvements, and adds weak pointers and better finalizers

Go 1.22 Released

9 minute read

Everyone’s going loopy about Go’s latest language changes. Nobody seems to have noticed an important fix

Go 1.21

9 minute read

Go 1.21 has just arrived! It has some nice things like PGO, and slices.Sort(), but beware of a pitfall

Back to Top ↑

pitfall

Go 1.21

9 minute read

Go 1.21 has just arrived! It has some nice things like PGO, and slices.Sort(), but beware of a pitfall

Back to Top ↑

gotcha

Go 1.21

9 minute read

Go 1.21 has just arrived! It has some nice things like PGO, and slices.Sort(), but beware of a pitfall

Back to Top ↑

pragma

Build Tags

12 minute read

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.

Compiler Directives

31 minute read

A look at all of Go’s pragmas (except build tags). How //go:debug directive enhances Go’s backward compatibility. Plus recent changes to the language that af...

Back to Top ↑

directive

Build Tags

12 minute read

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.

Compiler Directives

31 minute read

A look at all of Go’s pragmas (except build tags). How //go:debug directive enhances Go’s backward compatibility. Plus recent changes to the language that af...

Back to Top ↑

profile

Profile Guided optimisation

24 minute read

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

Back to Top ↑

benchmarks

Go 1.24 Released

22 minute read

Go 1.24 has some nice performance and testing improvements, and adds weak pointers and better finalizers

Back to Top ↑

execution tracer

Go 1.25 Is Here!

25 minute read

Go 1.25 has some nice useful additions, and some that are overhyped

Go 1.22 Released

9 minute read

Everyone’s going loopy about Go’s latest language changes. Nobody seems to have noticed an important fix

Back to Top ↑

unique

Unique package

13 minute read

The unique package may be more useful than you think, but it does have some gotchas

Back to Top ↑

reference

Back to Top ↑

value

Back to Top ↑

type

Back to Top ↑

comparability

Back to Top ↑

build tags

Build Tags

12 minute read

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.

Back to Top ↑

defer

Defer

9 minute read

Why it’s important to use defer for maintainability and in the presence of panics. I also look at some common pitfalls.

Back to Top ↑

panic

Defer

9 minute read

Why it’s important to use defer for maintainability and in the presence of panics. I also look at some common pitfalls.

Back to Top ↑

recover

Defer

9 minute read

Why it’s important to use defer for maintainability and in the presence of panics. I also look at some common pitfalls.

Back to Top ↑

pprof

Back to Top ↑

flame

Back to Top ↑

graphviz

Back to Top ↑

trace

Back to Top ↑

optimization

Profile Guided optimisation

24 minute read

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

Back to Top ↑

optimisation

Profile Guided optimisation

24 minute read

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

Back to Top ↑

pgo

Profile Guided optimisation

24 minute read

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

Back to Top ↑

code generation

Profile Guided optimisation

24 minute read

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

Back to Top ↑

branch prediction

Profile Guided optimisation

24 minute read

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

Back to Top ↑

inline

Profile Guided optimisation

24 minute read

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

Back to Top ↑

devirtualisation

Profile Guided optimisation

24 minute read

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

Back to Top ↑

devirtualization

Profile Guided optimisation

24 minute read

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

Back to Top ↑

hot function

Profile Guided optimisation

24 minute read

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

Back to Top ↑

cache

Profile Guided optimisation

24 minute read

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

Back to Top ↑

profiling

Profile Guided optimisation

24 minute read

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

Back to Top ↑

iterator

Back to Top ↑

range-over-function

Back to Top ↑

telemetry

Back to Top ↑

weak pointers

Go 1.24 Released

22 minute read

Go 1.24 has some nice performance and testing improvements, and adds weak pointers and better finalizers

Back to Top ↑

finalizers

Go 1.24 Released

22 minute read

Go 1.24 has some nice performance and testing improvements, and adds weak pointers and better finalizers

Back to Top ↑

map

Go 1.24 Released

22 minute read

Go 1.24 has some nice performance and testing improvements, and adds weak pointers and better finalizers

Back to Top ↑

tools

Go 1.24 Released

22 minute read

Go 1.24 has some nice performance and testing improvements, and adds weak pointers and better finalizers

Back to Top ↑

testing

Go 1.24 Released

22 minute read

Go 1.24 has some nice performance and testing improvements, and adds weak pointers and better finalizers

Back to Top ↑

library

Unique package

13 minute read

The unique package may be more useful than you think, but it does have some gotchas

Back to Top ↑

synctest

Go 1.25 Is Here!

25 minute read

Go 1.25 has some nice useful additions, and some that are overhyped

Back to Top ↑

json

Go 1.25 Is Here!

25 minute read

Go 1.25 has some nice useful additions, and some that are overhyped

Back to Top ↑

gc

Go 1.25 Is Here!

25 minute read

Go 1.25 has some nice useful additions, and some that are overhyped

Back to Top ↑

waitgroup

Go 1.25 Is Here!

25 minute read

Go 1.25 has some nice useful additions, and some that are overhyped

Back to Top ↑

GOMAXPROCS

Go 1.25 Is Here!

25 minute read

Go 1.25 has some nice useful additions, and some that are overhyped

Back to Top ↑