~/talk

What's Behind Generics in Go

TalkinRussianat HighLoad++ 2023 · 2023-11-27..11-28· [go, compilers-and-language-design]
links:none on file
slides:none on file

Explains Go generics: why Go’s generic design looks the way it does, how it differs from generics in other languages, and what implementation details like “gc shape” mean. Covers the language choices and underlying mechanisms behind type parameters (e.g., [T any]) and their runtime/GC implications.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09What is polymorphism
  3. 6:31What are generics
  4. 8:57Monomorphic implementation in Go
  5. 12:08Monomorphic generics problems
  6. 15:43Performance vs interfaces
  7. 17:08Future of Go generics
  8. 27:11Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.