Latest News
- 1 July 2024
- GHC 9.6.6 Released! [download]
- 10 May 2024
- GHC 9.10.1 Released! [download]
- 16 April 2024
- GHC 9.6.5 Released! [download]
What is GHC?
GHC is a state-of-the-art, open source compiler and interactive environment for the functional language Haskell.
Highlights:
GHC supports the entire Haskell 2010 language plus a wide variety of extensions.
GHC has particularly good support for concurrency and parallelism, including support for Software Transactional Memory.
GHC works on numerous platforms including Windows, macOS, Linux, and several different processor architectures. There are detailed instructions for porting GHC to new platforms.
GHC has extensive optimisation capabilities, including inter-module optimisation. Take a look at GHC's perfomance on The Computer Language Benchmarks Game.
GHC compiles Haskell programs either directly to native code or by using LLVM as a back-end. GHC can also generate C code as an intermediate target for porting to new platforms. The interactive environment quickly compiles Haskell to bytecode, and supports execution of mixed bytecode/compiled programs.
Profiling is supported, both by time/allocation and various kinds of heap profiling.
GHC comes with several libraries and thousands more are available on Hackage.
GHC is supported by a great set of tooling, from language servers to build systems to verification tools, to make writing your program a joy.
GHC is heavily dependent on its users and contributors. Please come and join us on GitLab, Matrix, Discourse, or our mailing lists to share your comments, suggestions, bug reports and contributions!
We are an open-source project developed and guided by our contributors.
However, some larger strategic decisions are undertaken by a smaller group of
core contributors. See the ghc-hq
project for details on our governance structure.
Our Sponsors
GHC development is facilitated by a number of generous sponsors including but not limited to: