
Glasgow Haskell Compiler.
What is GHC written in?
What GHC is used for
GHC is the standard Haskell compiler, used to build essentially all production Haskell, with an advanced optimizer and a C-based runtime for lazy evaluation and concurrency.
Used by: the Cardano blockchain, the pandoc converter, and most Haskell software.
Quick Facts
- Developer
- University of Glasgow
- First released
- 1992
- License
- 3-clause BSD License
- Website
- www.haskell.org/ghc
About GHC
GHC is a compiler for the Haskell programming language.
GHC first appeared in 1992. Development is led by University of Glasgow.
How GHC is implemented
In the Language Lineage dataset, GHC is self-hosting, so its own compiler is written in GHC itself, its runtime is implemented in C, and its toolchain was bootstrapped from Lazy ML. Reaching self-hosting, where a language is mature enough to compile itself, is a milestone that proves the language can handle a large, real-world program.
Sources: Wikipedia · Wikidata · Official site
Frequently Asked Questions
Evidence Sources
- https://en.wikipedia.org/wiki/Glasgow_Haskell_Compiler
- https://wiki.haskell.org/GHC:History
- GHC on Wikidata (Q2318908)