~/talk

Kinds are Calling Conventions

Talkat ICFP 2020 · 2020-08-23..08-26· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

An intermediate language encodes runtime representation, arity and evaluation strategy inside kinds so multi-argument calls compile statically even under polymorphism. It adds a TYPE r c kind for representation and calling convention, a distinct primitive squiggly arrow function type with unrestricted eta but controlled beta, and explicit closures via Clos and App so partial applications share work. A compiler pipeline and metatheory prove well-kinded programs always lower to an efficient calling convention.

AI-written summary · about

  1. 0:00Intro
  2. 0:15Efficient Function Calls
  3. 1:32Determining Function Arity
  4. 3:01What Is Arity?
  5. 5:25Static Arity
  6. 6:30Currying
  7. 8:07Functions are Called
  8. 9:42The Problem With Polymorphism
  9. 11:14Arity Polymorphism
  10. 13:46Even More
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.