Golang 1.24 introduces several notable features and improvements: a 2-3% performance boost, a new weak pointer implementation, support for post-quantum cryptography in `crypto/tls`, the `omitzero` tag for better zero value handling in `encoding/json`, and a `tool` directive in `go.mod`. The release also enhances the testing package with context support and introduces an experimental `testing/synctest` package for concurrent code testing. These updates promise better memory usage, enhanced security, and improved developer experience.

6m read timeFrom devcenter.upsun.com
Post cover image
Table of contents
Some nice performance improvementsA weak pointer implementation (finally!)Post-quantum cryptographyEncrypted Client Hello (ECH) in crypto/tlsencoding/json gets better support for zero value through the new omitzero tagA new tool directive in go.modContext support in the testing packageA new testing/synctest package for testing concurrent codeA lot of other things

Sort: