The Inner Workings of Go Generics

Day 1 | 11:00 | 00:30 | UD2.120 (Chavanne) | Anton Sankov


Note: I'm reworking this at the moment, some things won't work.

The stream isn't available yet! Check back at 11:00.

Generics have long been a hot topic in the Go community, with years of debate, research, and anticipation surrounding their introduction. In this talk, we'll trace the journey of generics in Go—from the early days of design discussions to their eventual implementation in Go 1.18. We'll cover the challenges that led to Go's unique approach to generics, the technical design decisions involved, and how they were implemented to balance simplicity with powerful functionality. Attendees will gain a deeper understanding of the compiler magic that makes Go generics possible and explore practical examples of how generics enhance type safety and flexibility without sacrificing Go's performance and readability principles. This talk is ideal for anyone curious about how generics work under the hood and what they mean for the future of Go.