What is Haskell written in?
Haskell is a purely functional programming language, first released in 1990.
Implementation
| Layer | Written in | Notes |
|---|---|---|
| Compiler | Haskell (since 1992) | GHC is self-hosting, written in Haskell |
| Runtime | C (since 1992) | GHC RTS (runtime system) written in C |
Self-hosting
Haskell is a self-hosting language: its compiler is written in Haskell itself. Self-hosting means the compiler can compile its own source code, which is a milestone in a language's maturity. New versions of the compiler are built using an older version of the same compiler, a process called bootstrapping.
Self-hosting also acts as a practical stress test: if a language can compile its own compiler, most core language features have been validated in a complex, real-world workload. See what is compiler bootstrapping for a full explanation.
Explore in the Graph
See Haskell's full lineage, including all implementation and influence relationships, in the interactive graph.
Open Interactive Graph →Or view the Haskell language page for the complete record.