VU 183.653 Methodical, industrial Software-Engineering using the Haskell functional programming language

2013-04-22

Last Time

Addendum to last lecture

Today

GHC Pipeline

(source: GHC Commentary)

GHC Pipeline (cont.)

GHC Core

GHC Core (cont.)

GHC Core (cont.)

Understanding GHC Core

Understanding GHC Core (cont.)

Understanding GHC Core (cont.)

Typeclasses in Core

Data types in Core

Newtypes in Core

Sum in Core (-O0)

Sum in Core (-O2)

Sum in Core - foldl-style

Sum in Core - foldl-style

Unboxed Tuples

Unboxed Tuples (cont.)

Core Summary

STG Representation

Heap Profiling

Heap Profiling (cont.)

Heap Profiling (cont.)

Heap Profiling (cont.)

Heap Profiling (cont.)

Heap Profiling (cont.)

Heap Profiling (cont.)

Thunk leaks, Space Leaks, Stack Overflows...

Space Leaks

Space Leaks (cont.)

Space Leaks (cont.)

Further reading