Lune

OOPSLA2020顶会

Featherweight go

Robert Griesemer, Raymond Hu, Wen Kokke, Julien Lange, Ian Lance Taylor, Bernardo Toninho, Philip Wadler, Nobuko Yoshida

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Extending Isabelle/HOL's Code Generator with Support for the Go Programming Language 引用了 Generic go to go: dictionary-passing, monomorphisation, and hybrid
  • Welterweight Go: Boxing, Structural Subtyping, and Generics 引用了 Generic go to go: dictionary-passing, monomorphisation, and hybrid
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Scalable, Validated Code Translation of Entire Projects using Large Language ModelsHanliang Zhang, Cristina David, Meng Wang, Brandon Paulsen 等PLDI 2025 · 15 次引用
  2. Generic go to go: dictionary-passing, monomorphisation, and hybridStephen Ellis, Shuofei Zhu, Nobuko Yoshida, Linhai SongOOPSLA 2022 · 4 次引用
  3. The Simple Essence of MonomorphizationMatthew Lutze, Philipp Schuster, Jonathan Immanuel BrachthäuserOOPSLA 2025 · 2 次引用
  4. Extending Isabelle/HOL's Code Generator with Support for the Go Programming LanguageTerru Stübinger, Lars HupelFM 2024 · 1 次引用
  5. Welterweight Go: Boxing, Structural Subtyping, and GenericsRaymond Hu, Julien Lange, Bernardo Toninho, Philip Wadler 等POPL 2026

相关 Paper

  1. Decomposition diversity with symmetric data and codataDavid Binder, Julian Jabs, Ingo Skupin, Klaus OstermannPOPL 2020 · 2 次引用
  2. Structural Subtyping as Parametric PolymorphismWenhao Tang, Daniel Hillerström, James McKinna, Michel Steuwer 等OOPSLA 2023 · 3 次引用
  3. Type-level programming with match typesOlivier Blanvillain, Jonathan Immanuel Brachthäuser, Maxime Kjaer, Martin OderskyPOPL 2022 · 10 次引用
  4. Quotient PolymorphismBrandon Hewer, Graham HuttonPOPL 2026
  5. TASTyTruffle: Just-in-Time Specialization of Parametric PolymorphismMatt D'Souza, James You, Ondrej Lhoták, Aleksandar ProkopecOOPSLA 2023
黄昏的海面,两侧是细线勾勒的悬崖