2017 LLVM Developers’ Meeting: “Implementing Swift Generics ”

LLVMLength: 45 minutesCompilers, interpreters & program analysis

In brief

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.