DEV Community

Go Time

What's new in Go 1.21

Our “what’s new in Go” correspondent Carl Johnson joins Johnny & Kris yet again to discuss what’s new with the latest iteration of Go in version 1.21.

Leave us a comment

Changelog++ members save 5 minutes on this episode because they made the ads disappear. Join today!

Sponsors:

  • Tailscale – Simple, secure networks for teams of any scale. Built on WireGuard.
  • Changelog News – A podcast+newsletter combo that’s brief, entertaining & always on-point. Subscribe today.
  • Fastly – Our bandwidth partner. Fastly powers fast, secure, and scalable digital experiences. Move beyond your content delivery network to their powerful edge cloud platform. Learn more at fastly.com
  • Fly.io – The home of Changelog.com — Deploy your apps and databases close to your users. In minutes you can run your Ruby, Go, Node, Deno, Python, or Elixir app (and databases!) all over the world. No ops required. Learn more at fly.io/changelog and check out the speedrun in their docs.

Featuring:

Show Notes:

Something missing or broken? PRs welcome!

Timestamps:

(00:00) - Welcome to Go Time!
(00:35) - Sponsor: Tailscale
(04:02) - Carl Johnson
(06:11) - Most important release note
(11:14) - Logging
(17:41) - maps.keys
(20:09) - CMP package
(23:47) - min-maxing
(29:04) - loop variable closer
(34:05) - PGO
(37:49) - Forward and backward compatibility
(40:01) - Sponsor: Changelog News
(41:13) - WebAssembly
(44:54) - Funk
(47:47) - Unpopular opinions!
(48:06) - Carl's unpop
(1:01:20) - Waterfall paper
(1:03:27) - Outro

Episode source