~/talk

Deforestation and Program Fusion

Talkat LambdaConf 2017 · 2017-05-25..05-27· [haskell, compilers-and-language-design]
links:none on file
slides:none on file

Explains how GHC uses rewrite rules to eliminate intermediate lists so high‑level code runs like hand‑tuned loops: foldr/build fusion turns map+sum into a single recursion, the naïve version is about half as fast on a million‑element list, and stream fusion replaces list traversal with an iterator‑style state machine to remove allocations; vector backends compile into tight C‑style loops (benchmarks show ~700µs and tiny heap usage). The repo contains the code and core dumps.

AI-written summary · about

  1. 0:00Start
  2. 0:10SLAMDATA
  3. 0:31DEFORESTATION AND PROGRAM FUSION: APPLYING EQUATIONAL TRANSFORMS TO AUTOMATICALLY SIMPLIFY PROGRAMS
  4. 54:34ROBOT OVERLORD
~/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.