Nobuko Yoshida

University of Oxford
Country flagUnited Kingdom

Research Interests

Explore related searches

Contact this professor

Get a free first email built on one of their papers, ready for you to edit and send yourself.

Articles (15)

Year:

2025

Year:

2025

Year:

2024

Year:

2023

Year:

2023

Year:

2023

Year:

2023

Year:

2022

Year:

2022

Go is a popular statically-typed industrial programming language. To aid the type safe reuse of code, the recent Go release (Go 1.18) published early 2022 includes bounded parametric polymorphism via generic types. Go 1.18 implements generic types using a combination of monomorphisation and call-graph based dictionary-passing called hybrid. This hybrid approach can be viewed as an optimised form of monomorphisation that statically generates specialised methods and types based on possible instantiations. A monolithic dictionary supplements information lost during monomorphisation, and is structured according to the program’s call graph. Unfortunately, the hybrid approach still suffers from code bloat, poor compilation speed, and limited code coverage. In this paper we propose and formalise a new non-specialising call-site based dictionary-passing translation. Our call-site based translation creates individual dictionaries for each type parameter, with dictionary construction occurring in place of instantiation, overcoming the limitations of hybrid. We prove it correct using a novel and general bisimulation up to technique. To better understand how different generics translation approaches work in practice, we benchmark five translators, Go 1.18, two existing monomorphisation translators, our dictionary-passing translator, and an erasure translator. Our findings reveal several suggestions for improvements for Go 1.18— specifically how to overcome the expressiveness limitations of generic Go and improve compile time and compiled code size performance of Go 1.18.

Year:

2022

Year:

2022

Year:

2021

Year:

2020

Year:

2020

Year:

2020

Collaborators (13)

Julien Lange

Lecturer

Royal Holloway, University of London

UNITED KINGDOM
View details

Linhai Song

Pennsylvania State University

UNITED STATES
View details

Alceste Scalas

Technical University of Denmark

DENMARK
View details

Michael Stumm

University of Toronto

UNITED STATES
View details

Bernardo Toninho

Universidade de Aveiro

PORTUGAL
View details

David Castro-Perez

University of Kent

UNITED KINGDOM
View details

Adam Barwell

University of St. Andrews

UNITED KINGDOM
View details

Hugo-Andrés López

Technical University of Denmark

DENMARK
View details

Vasco T. Vasconcelos

University of Lisbon

PORTUGAL
View details

Raymond Hu

Lecturer

Queen Mary University of London

UNITED KINGDOM
View details

Elena Ferrari

University of Insubria

ITALY
View details

Francisco Ferreira Ruiz

Lecturer

Royal Holloway, University of London

UNITED KINGDOM
View details

Kirstin Peters

Professor

University of Augsburg

GERMANY
View details
ApplyKite TwinLearns as you apply

Make your next move.

Prepare your application

Review drafts before you send them.