Go 1.26 Interactive Tour

Go 1.26 tour drops: speed hype, pointer confessions, meme storm

TLDR: An interactive tour of Go 1.26 showcases faster memory, smarter garbage collection, and a handy new way to make pointers. Comments rave about speed and generics, joke about “you can never be sure” cat booleans, and cheer that the longtime error-creation debate is finally settled.

Anton Zhiyanov turned the dry official Go 1.26 notes into an interactive show-and-tell, and the comments instantly became the main event. The headline feature for casual readers: you can now do a quick “make me a pointer to this value” with new(expr). Cue the cat meme: a field called “is_fed” set via a pointer, and one user sighed, “you can never be sure”—another chimed in, “felt that part.”

Performance super-fans are buzzing over the cutely named Green Tea GC (garbage collector = automatic cleanup), plus vectorized ops (think: your computer crunches multiple numbers at once). One commenter praised the shift toward memory-friendly speed and dropped a deep-cut link to turbopuffer’s MAXSCORE vs WAND, igniting nerdy speed talk. Meanwhile, generics got a glow-up with recursive type constraints, earning a simple-but-loud “excellent.”

And yes, there’s drama: a long-running bike-shed over fmt.Errorf vs errors.New (two ways to make error messages) finally cooled as fmt.Errorf now allocates less—the crowd shouted, “Thank you so much!!!” Non-Go folks popped in just to say the tour is actually readable, which might be the most shocking upgrade of all. In short: more speed, fewer headaches, and meme-worthy cats. The community is sipping the Green Tea—and spilling it, too.

Key Points

  • The article offers an interactive tour of Go 1.26 features, based on official release notes and source code.
  • Go 1.26 introduces new(expr), allowing new to accept expressions of type T and return a pointer to a variable initialized with that value.
  • Examples demonstrate using new(expr) for optional pointer fields in structs when marshaling with JSON or Protobuf.
  • new(expr) works with composite values such as slices and structs, enabling concise pointer creation to literals.
  • The tour lists many additional Go 1.26 areas (GC, performance, cryptography, diagnostics, logging, tooling) with links for deeper reference.

Hottest takes

"locality and SIMD is a big performance unlock" — rockwotj
"felt that part" — SSchick
"Thank you so much!!!" — guessmyname
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.