Featherweight Go

Griesemer, Robert, Hu, Raymond, Kokke, Wen, Lange, Julien, Taylor, Ian Lance, Toninho, Bernardo, Wadler, Philip and Yoshida, Nobuko (2020) Featherweight Go. Proceedings of the ACM on Programming Languages (PACMPL), 4 (OOPSLA): 149. ISSN 2475-1421
Copy

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.


picture_as_pdf
3428217.pdf
subject
Published Version
Available under Creative Commons: BY 4.0

View Download
visibility_off picture_as_pdf

Submitted Version
lock

Atom BibTeX OpenURL ContextObject in Span OpenURL ContextObject Dublin Core MPEG-21 DIDL EndNote HTML Citation METS MODS RIOXX2 XML Reference Manager Refer ASCII Citation
Export

Downloads