Alternative translation strategy for generics in Go
July 20, 2023
Master’s thesis, Offenburg University
Abstract
Go is a programming language, published in 2009, with a static type system. Since version 1.18, generics have been added as a part of the language. Their translation was implemented using monomorphization in the de facto standard compiler. This approach has both positive and negative sides. Therefore, this thesis describes an alternative translation strategy for generics in Go. This strategy is implemented in a new compiler for Featherweight Generic Go, a subset of Go. In the end, we have a nearly-working compiler emitting Racket code. An evaluation of the performance of this translation strategy has yet to be done, however.
BibTeX
@mastersthesis{Braun2023,
title = {Alternative Übersetzungsstrategie für Generics in Go},
author = {Hannes Braun},
year = {2023},
month = {jul},
school = {Hochschule Offenburg},
}