~/talk

Working Hard to Keep Things Lazy

name:raichoo
links:none on file
slides:none on file

Starts from a buggy length that uses non-tail recursion and eats 632 MB (another variant 903 MB at 10% productivity) and explains why laziness is non-strictness plus sharing by showing how GHC represents delayed computations as thunks and optimizes via Core → STG → C/LLVM. Shows seq and bang patterns vs compiler work when compiling with -O1, demonstrates GHC collapses Haskell loops into constant‑space machine‑integer code and assembly nearly identical to a C for‑loop.

AI-written summary · about

  1. 0:00Start
  2. 2:08First steps
  3. 5:37Applicative Order
  4. 6:17Normal Order
  5. 8:34Lifting Types
  6. 10:33Monotone Functions
  7. 13:19Standardization Theorem
  8. 14:04Hard working non-strictness
  9. 14:52Laziness non-strictness + sharing
  10. 17:03Choosing Evaluation Strategies
  11. 20:34Honorable Mention
  12. 21:39GHC Compilation Pipeline
  13. 22:43Revisiting Lifted Types
~/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.