Go 1.24, scheduled for release in February, brings a wealth of new features, including generic type aliases, weak pointers, improved finalizers, and directory-scoped filesystem access. Performance enhancements are seen in the new map implementation using SwissTable and concurrent hash-trie for sync.Map. Developer experience is improved with streamlined tools for benchmarks, concurrent code testing, custom tool usage, and structured JSON output for build and test commands. Additionally, cryptographic functions see updates with SHA-3 and random text generation.
Table of contents
Generic type aliasesWeak pointersImproved finalizersSwiss tablesConcurrent hash-trie mapDirectory-scoped filesystem accessBenchmark loopSynthetic time for testingTest context and working directoryDiscard log outputAppender interfacesMore string and byte iteratorsSHA-3 and friendsHTTP protocolsOmit zero values in JSONRandom textTool dependenciesJSON output for build, install and testMain module's versionSummary6 Comments
Sort: