Skip to main content

The Inner Workings of Go Generics

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

The Inner Workings of Go Generics
A picture of a devroom at FOSDEM 2024
Open in browser

Notes

Abstract

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.

Speakers

Anton Sankov

Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.