https://go.dev/blog/go1.24 Go Skip to Main Content * Why Go arrow_drop_down Press Enter to activate/deactivate dropdown + Case Studies Common problems companies solve with Go + Use Cases Stories about how and why companies use Go + Security How Go can help keep you secure by default * Learn Press Enter to activate/deactivate dropdown * Docs arrow_drop_down Press Enter to activate/deactivate dropdown + Effective Go Tips for writing clear, performant, and idiomatic Go code + Go User Manual A complete introduction to building software with Go + Standard library Reference documentation for Go's standard library + Release Notes Learn what's new in each Go release * Packages Press Enter to activate/deactivate dropdown * Community arrow_drop_down Press Enter to activate/deactivate dropdown + Recorded Talks Videos from prior events + Meetups open_in_new Meet other local Go developers + Conferences open_in_new Learn and network with Go developers from around the world + Go blog The Go project's official blog. + Go project Get help and stay informed from Go + Get connected [google-gro] [github] [twitter] [reddit] [slack] [stack-over] Go. * Why Go navigate_next navigate_beforeWhy Go + Case Studies + Use Cases + Security * Learn * Docs navigate_next navigate_beforeDocs + Effective Go + Go User Manual + Standard library + Release Notes * Packages * Community navigate_next navigate_beforeCommunity + Recorded Talks + Meetups open_in_new + Conferences open_in_new + Go blog + Go project + Get connected [google-gro] [github] [twitter] [reddit] [slack] [stack-over] The Go Blog Go 1.24 is released! Junyang Shao, on behalf of the Go team 11 February 2025 Today the Go team is excited to release Go 1.24, which you can get by visiting the download page. Go 1.24 comes with many improvements over Go 1.23. Here are some of the notable changes; for the full list, refer to the release notes. Language changes Go 1.24 now fully supports generic type aliases: a type alias may be parameterized like a defined type. See the language spec for details. Performance improvements Several performance improvements in the runtime have decreased CPU overhead by 2-3% on average across a suite of representative benchmarks. These improvements include a new builtin map implementation based on Swiss Tables, more efficient memory allocation of small objects, and a new runtime-internal mutex implementation. Tool improvements * The go command now provides a mechanism for tracking tool dependencies for a module. Use go get -tool to add a tool directive to the current module. Use go tool [tool name] to run the tools declared with the tool directive. Read more on the go command in the release notes. * The new test analyzer in go vet subcommand reports common mistakes in declarations of tests, fuzzers, benchmarks, and examples in test packages. Read more on vet in the release notes. Standard library additions * The standard library now includes a new set of mechanisms to facilitate FIPS 140-3 compliance. Applications require no source code changes to use the new mechanisms for approved algorithms. Read more on FIPS 140-3 compliance in the release notes. Apart from FIPS 140, several packages that were previously in the x/ crypto module are now available in the standard library. * Benchmarks may now use the faster and less error-prone testing.B.Loop method to perform benchmark iterations like for b.Loop() { ... } in place of the typical loop structures involving b.N like for range b.N. Read more on the new benchmark function in the release notes. * The new os.Root type provides the ability to perform filesystem operations isolated under a specific directory. Read more on filesystem access in the release notes. * The runtime provides a new finalization mechanism, runtime.AddCleanup, that is more flexible, more efficient, and less error-prone than runtime.SetFinalizer. Read more on cleanups in the release notes. Improved WebAssembly support Go 1.24 adds a new go:wasmexport directive for Go programs to export functions to the WebAssembly host, and supports building a Go program as a WASI reactor/library. Read more on WebAssembly in the release notes. --------------------------------------------------------------------- Please read the Go 1.24 release notes for the complete and detailed information. Don't forget to watch for follow-up blog posts that will go in more depth on some of the topics mentioned here! Thank you to everyone who contributed to this release by writing code and documentation, reporting bugs, sharing feedback, and testing the release candidates. Your efforts helped to ensure that Go 1.24 is as stable as possible. As always, if you notice any problems, please file an issue. Enjoy Go 1.24! Previous article: Go Developer Survey 2024 H2 Results Blog Index Why Go Use Cases Case Studies Get Started Playground Tour Stack Overflow Help Packages Standard Library About Go Packages About Download Blog Issue Tracker Release Notes Brand Guidelines Code of Conduct Connect Twitter GitHub Slack r/golang Meetup Golang Weekly Opens in new window. The Go Gopher * Copyright * Terms of Service * Privacy Policy * Report an Issue * System theme Dark theme Light theme Google logo go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more. Okay