~/talk

Type Theory Behind the Glasgow Haskell Compiler Internals (Part 2)

Talkat LambdaConf 2018 · 2018-06-03..06-05· [machine-learning]
slides:none on file

Follows the GHC compilation pipeline down to the internal, explicitly typed GHC Core, shows how Haskell features become concrete Core constructs (GADTs, type families, data kinds and the move toward dependent types), demonstrates the -ddump-simpl workflow and optimizer loop with a concrete example that eliminates a function, and explains what is lost (location info, hard-to-map-to-source transformations) and what gains appear (System F style foundations and year-by-year Core changes since 2012).

AI-written summary · about

  1. 0:00Compiler overview
  2. 2:03Six main compiler stages
  3. 4:46Compilation pipeline rationale
  4. 10:51Parsing and renaming
  5. 17:37Abstract syntax tree
  6. 20:44Declaration types
  7. 24:52Type checking and inference
  8. 28:23GHC core intermediate language
  9. 31:00Type theory connection
  10. 34:08Core expression analysis
  11. 36:25Compiler debugging challenges
  12. 39:41Binders and optimizations
  13. 42:04Desugaring example and conclusion
~/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.