Modern Go in 2026: New Language Features, Faster Runtime, and Where It Wins
A field guide to modern Go in 2026: iterators, generic methods, Green Tea GC, JSON v2, and where Go still beats Rust for real backend and AI agent work.
A field guide to modern Go in 2026: iterators, generic methods, Green Tea GC, JSON v2, and where Go still beats Rust for real backend and AI agent work.
Go CLI framework showdown for 2026: Cobra vs urfave/cli vs Bubble Tea. Real code, boilerplate counts, and when to reach for each, after building all three.
Go's encoding/json/v2 is a reported 2–10x faster at unmarshaling but flips v1 defaults: duplicate keys, nil slices, case matching. How to enable it and migrate.
Build an AI agent in Go from scratch: a tool-calling loop against the Anthropic API in ~120 lines, no frameworks, with real code and the gotchas I hit.
Go 1.27 finally adds generic methods: type parameters on methods at last. A hands-on tutorial on the syntax, the chaining it enables, and the interface catch.
Rust vs Go in 2026: learn Go for 80% of backends, add Rust for the 20% where 5x tail latency and 2–4x less memory pay off. Real benchmarks and salary data.
Go 1.26 ships Green Tea GC by default (10-40% less overhead), experimental SIMD, runtime/secret, and a rewritten go fix. Hands-on code for each feature.
How to write a custom Go iterator using iter.Seq and iter.Seq2, handle early termination, convert push to pull with iter.Pull, and avoid the yield traps.