2017 LLVM Developers’ Meeting: “Implementing Swift Generics ”
21K views • 9 years ago
LLVM
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.