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 worker pool patterns run side by side: errgroup.SetLimit, a channel pool and semaphore.Weighted. Error handling, a leak caught by goroutineleak, and memory.
sqlc vs GORM vs Ent for Go database access in 2026: type safety, real benchmark numbers, migrations, and which library actually fits your next project.
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 1.27 ships encoding/json/v2: up to 10x faster unmarshaling (reported), and new defaults for duplicate keys, nil slices and case. What breaks, and how to …
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 to watch for.
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 for backends in 2026: where Rust's speed and memory edge is real, why Go still ships faster, and fresh HN hiring data where Rust now matches Go.
Go 1.26 features with code: Green Tea GC on by default (10-40% less GC overhead), new(expr), SIMD, runtime/secret, go fix, plus what changed in Go 1.27.
Go iterators with iter.Seq and Seq2: the yield contract, early exit without a runtime panic, zipping two sequences with iter.Pull, and its 30x per-element cost.