Projects / The Glasgow Haskell Compiler

The Glasgow Haskell Compiler

The Glasgow Haskell Compiler is a robust, fully-featured, optimising compiler for the functional programming language Haskell. GHC compiles Haskell to either native code or C. It implements numerous experimental language extensions to Haskell for example concurrency, a foreign language interface, several type-system extensions, exceptions, and so on. GHC comes with a generational garbage collector, a space and time profiler, and a comprehensive set of libraries.

Operating Systems

Recent releases

  •  15 Jun 2011 12:58

    Release Notes: A floating point regression in 7.0.3 affecting x86 has been fixed. The GHCi linker now handles partially stripped object files. This fixes loading the ghc package in ghci when it's been stripped, which is often the case in Linux distribution packages. A bug that caused bad results from getCPUTime, getClockTime, and getCurrentTime has been fixed. Several runtime system bugs were fixed. Incorrect directory permissions when installing have been fixed. Some improvements have been made to the new Cabal testsuite support.

    •  17 Nov 2010 16:19

      Release Notes: GHC now defaults to the Haskell 2010 language standard. -fglasgow-exts is now deprecated in favour of the individual extension flags. On POSIX platforms, there is a new I/O manager. This release includes an LLVM code generator which, for certain code, can bring some nice performance improvements. The type checker has been overhauled. The inliner has been overhauled. Large parts of the runtime system have been overhauled. A more recent mingw is bundled on Windows.

      •  22 Apr 2010 14:31

        Release Notes: This is a bugfix release.

        •  14 Dec 2009 13:44

          Release Notes: There have been a number of significant changes since the last major release. Support for parallel execution was considerably improved. Dynamic linking is now supported on Linux. The I/O libraries are now Unicode-aware, so your Haskell programs should now handle text files containing non-ASCII characters without special effort. The package system has been made more robust by associating each installed package with a unique identifier based on its exposed ABI. There are a variety of small language changes.

          •  16 Jul 2009 14:45

            Release Notes: Various bugfixes.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.