A developer shares insights from consulting work optimizing Go codebases, covering practical performance tips including profiling with perf instead of pprof, enum implementation patterns, struct field ordering, sum types workarounds, defer overhead, and slice allocation strategies. Also discusses switching to the niri window
Sort: