Blog
About

3
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

      Featherweight Go

      Preprint

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          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.

          Related collections

          Author and article information

          Journal
          24 May 2020
          Article
          2005.11710

          http://arxiv.org/licenses/nonexclusive-distrib/1.0/

          Custom metadata
          a full version
          cs.PL cs.LO

          Theoretical computer science, Programming languages

          Comments

          Comment on this article