arXiv · 2106.14586
A Dictionary-Passing Translation of Featherweight Go
Abstract
The Go programming language is an increasingly popular language but some of its features lack a formal investigation. This article explains Go's resolution mechanism for overloaded methods and its support for structural subtyping by means of translation from Featherweight Go to a simple target language. The translation employs a form of dictionary passing known from type classes in Haskell and preserves the dynamic behavior of Featherweight Go programs.
Explore related subjects
Keep this discovery
Martin Sulzmann, Stefan Wehr. 2021-06-28. A Dictionary-Passing Translation of Featherweight Go. https://arxiv.org/abs/2106.14586
Cite the original work for its findings. Save a collection to share your selection of sources.