~/talk

Type Theory Behind Glasgow Haskell Compiler Internals (Part 1)

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

Claim: GHC implements type theory concretely, not just as lore—GHC Core = System F + algebraic datatypes and successive extensions add GADTs, type families, data kinds, type/kind equality and preliminary dependent-type features, with explicit translation algorithms and type-theoretic properties. Tooling details: bootstrapping via stage1→stage2 compilers, runtime system largely in C (~10% C), build-and-test takes hours, repo shows hundreds of contributors and ~10k issues. Slides and exercises live on the linked GitHub for hands-on follow-up.

AI-written summary · about

  1. 0:00Intro
  2. 4:10GHC Development Process
  3. 9:45The Glasgow Haskell Compiler
  4. 14:45New Contributors
  5. 16:55Documentation
  6. 19:15Feature Requests
  7. 20:45Resources
  8. 23:10Github
  9. 25:05Directory structure
  10. 29:55C code
  11. 32:50Libraries
  12. 37:20Runtime System
  13. 39:40Why build a compiler
  14. 44:10Building a compiler
  15. 47:30Read GHC directory
  16. 48:45Alternative build system
  17. 50:25Advice for newcomers
  18. 52:50Lowhanging fruits
  19. 54:10Important advice
  20. 55:50Workshop structure
~/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.