paperbot · PL 论文追踪

RSS

Kinds are calling conventions

ICFP 4(ICFP)2020引用 11
Paul Downen, Zena M. Ariola, Simon Peyton Jones, Richard A. Eisenberg

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

A language supporting polymorphism is a boon to programmers: they can express complex ideas once and reuse functions in a variety of situations. However, polymorphism is pain for compilers tasked with producing efficient code that manipulates concrete values. This paper presents a new intermediate language that allows for efficient static compilation, while still supporting flexible polymorphism. Specifically, it permits polymorphism over not only the types of values, but also the representation of values, the arity of primitive machine functions, and the evaluation order of arguments---all three of which are useful in practice. The key insight is to encode information about a value's calling convention in the kind of its type, rather than in the type itself.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@article{DownenAJE20,
  title = {Kinds are calling conventions},
  author = {Paul Downen and Zena M. Ariola and Simon Peyton Jones and Richard A. Eisenberg},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {4},
  number = {ICFP},
  year = {2020},
  doi = {10.1145/3408986}
}