~/talk

GHC Core Optimisations

links:none on file
slides:none on file

Desugared System F–style Core appears as a small, explicitly typed IR where case drives evaluation; the talk traces specific passes (strictness/demand analysis, CPR, the worker/wrapper split, inlining and the Simplifier) and shows an example where optimisations cut allocations ~85% and speed doubles. A concrete patch implements common subexpression elimination to look through unfoldings, builds with Hadrian, and makes k collapse to the identity, but the fix exposes deeper interactions suggesting the proper repair belongs in the Simplifier rather than only CSE.

AI-written summary · about

  1. 0:00GHC Core optimisations intro
  2. 1:10GHC Core pipeline basics
  3. 22:01Optimised Core performance
  4. 31:26GHC Core optimisations overview
  5. 50:55Local simplifier optimisations
  6. 1:01:59Demand analysis & worker/wrapper
  7. 1:16:10Fixing CSE bug
~/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.