Comment

Comment by FullyFunctional

Defunctionalization was introduced by John Renolds in 1972 [1] and entire compiler backends have been based on it [2].

[1] "Definitional Interpreters for Higher-Order Programming Languages", John C. Reynolds, 1972 as per https://en.wikipedia.org/wiki/Defunctionalization

[2] "The GRIN project: A highly optimising back end for lazy functional languages", Urban Boquist, Thomas Johnsson, 2005

+

"A modern look at GRIN, an optimizing functional language back end", Péter Dávid Podlovics, Csaba Hruska, Andor Pénzes, 2019

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton