Projects per year
Abstract
We describe a design for generics in Go inspired by previous work on Featherweight Java by Igarashi, Pierce, and Wadler. Whereas subtyping in Java is nominal, in Go it is structural, and whereas generics in Java are defined via erasure, in Go we use monomorphisation. Although monomorphisation is widely used, we are one of the first to formalise it. Our design also supports a solution to The Expression Problem.
Original language | English |
---|---|
Article number | 149 |
Number of pages | 29 |
Journal | Proceedings of the ACM on Programming Languages |
Volume | 4 |
Issue number | OOPSLA |
DOIs | |
Publication status | Published - 13 Nov 2020 |
Event | ACM SIGPLAN Conference on Systems, Programming, Languages, and Applications 2020: Software for Humanity - Online Conference Duration: 15 Nov 2020 → 21 Nov 2020 https://2020.splashcon.org/ |
Keywords / Materials (for Non-textual outputs)
- Go
- Generics
- Monomorphisation
Fingerprint
Dive into the research topics of 'Featherweight Go'. Together they form a unique fingerprint.Projects
- 1 Finished
-
From Data Types to Session Types - A Basis for Concurrency and Distribution
20/05/13 → 19/11/20
Project: Research
Profiles
-
Philip Wadler, FRS
- School of Informatics - Chair of Theoretical Computer Science
- Laboratory for Foundations of Computer Science
- Foundations of Computation
Person: Academic: Research Active