↓ Skip to main content

“A method declaration may now declare its own type parameters, independent of the receiver’s.”

Jesús Espinovictoriametrics.com ↗

Generic methods finally land, seven years after generics were first argued about and four after they shipped half-finished. Size-specialized allocation cuts small allocation cost by up to 30%, which is the release note that actually shows up in production. JSON v2 graduates and there is a stdlib uuid package, so a decade of everyone importing google/uuid ends. The interactive format beats the official release notes, which is a low bar Go has never cleared.