2017 LLVM Developers’ Meeting: “Implementing Swift Generics ”
What it is
Swift compiler engineers explain how Swift implements generics using dictionary-passing with reified type metadata. They compare it with Java-style uniform representation and C++ or Rust monomorphization.
Why Hacker News recommends it
Recommended as the clearest explanation of how Swift generics compile and how that differs from other languages.
- 2 people recommended it
- 2 different months
- 0 strong recommendations
- first 2017, last 2026
What HN commenters said
“there's a very nice talk on how Swift's generics compile.”
How Swift generics compile, differing from Rust
Veedrac, 2017-12 · Recommendation · in “Type Erasure in Swift”
“you might be interested in this[0] conference talk”
Background on Swift generics, ABI stability and library evolution
favorited, 2022-10 · Recommendation · in “Compiling Swift Generics [pdf]”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: swift, generics, llvm, compilers, type metadata, abi
Also recommended by the same people
talkCppCon 2015: Andrei Alexandrescu “std::allocator...”CppCon · 7 HN recommenders · 2017–2025
talk"What UNIX Cost Us" - Benno Rice (LCA 2020)linux.conf.au · 3 HN recommenders · 2022–2025
explainerThe Problem With Facebook2veritasium · 3 HN recommenders · 2014–2018
explainerFacebook FraudVeritasium · 7 HN recommenders · 2014–2025
talkIntro to AI Safety, RemasteredRobert Miles AI Safety · 6 HN recommenders · 2022–2023
explainerWhy Would AI Want to do Bad Things? Instrumental ConvergenceRobert Miles AI Safety · 6 HN recommenders · 2019–2023
interviewNick Bostrom - The Simulation Argument (Full)Science, Technology & the Future · 2 HN recommenders · 2016–2019
explainerWhy Not Just: Think of AGI Like a Corporation?Robert Miles AI Safety · 5 HN recommenders · 2020–2023