
The Go Blog - The Go Programming Language
Feb 19, 2025 · New file access APIs in Go 1.24. From unique to cleanups and weak: new low-level tools for efficiency, 6 March 2025 Michael Knyszek. Weak pointers and better finalization in Go 1.24. Faster Go maps with Swiss Tables, 26 February 2025 Michael Pratt. Go 1.24 improves map performance with a brand new map implementation
Blog Index - The Go Programming Language
Feb 19, 2025 · Go 1.21 expands Go's commitment to backward compatibility, so that every new Go toolchain is the best possible implementation of older toolchain semantics as well. Go 1.21 is released! , 8 August 2023
The Laws of Reflection - The Go Programming Language
Sep 6, 2011 · Like physical reflection, reflection in Go generates its own inverse. Given a reflect.Value we can recover an interface value using the Interface method; in effect the method packs the type and value information back into an interface representation and returns the result:
From unique to cleanups and weak: new low-level tools for …
Mar 6, 2025 · Go 1.24’s new weak pointer type, weak.Pointer, has a Value method that returns either a real pointer if the object is still reachable, or nil if it is not. If we instead maintain a map that only weakly points to the memory-mapped file, we can clean up the map entry when nobody’s using it anymore!
Go Developer Survey 2024 H2 Results
Dec 20, 2024 · This post shares the results of our most recent Go Developer Survey, conducted from September 9–23, 2024. We recruited participants from the Go blog and through randomized prompts in the VS Code Go plug-in and GoLand IDE, allowing us to recruit a more representative sample of Go developers. We received a total of 4,156 responses.
Announcing Go 1.18 Beta 2 - The Go Programming Language
Jan 31, 2022 · We are encouraged by all the excitement around Go’s upcoming 1.18 release, which adds support for generics, fuzzing, and the new Go workspace mode. We released Go 1.18 beta 1 two months ago, and it is now the most downloaded Go beta ever, with twice as many downloads as any previous release.
The Go Blog - The Go Programming Language
Feb 11, 2025 · Go 1.24 brings generic type aliases, map performance improvements, FIPS 140 compliance and more. Go Developer Survey 2024 H2 Results , 20 December 2024 Alice Merrick
Structured Logging with slog - The Go Programming Language
Aug 4, 2023 · The new log/slog package in Go 1.21 brings structured logging to the standard library. Structured logs use key-value pairs so they can be parsed, filtered, searched, and analyzed quickly and reliably.
Fixing For Loops in Go 1.22 - The Go Programming Language
Sep 19, 2023 · If go vet is reporting this kind of problem in your own tests, fixing them will prepare you better for Go 1.22. If you run into other problems, the FAQ has links to examples and details about using a tool we’ve written to identify which specific loop is causing a test failure when the new semantics are applied.
Go Turns 15 - The Go Programming Language
Nov 11, 2024 · We’re working on making Go better for AI—and AI better for Go—by enhancing Go’s capabilities in AI infrastructure, applications, and developer assistance. Go is a great language for building production systems, and we want it to be a great language for building production AI systems, too.