Glasgow Haskell Compiler (GHC)
langHaskell is a general-purpose, statically-typed, purely functional programming language with type inference and lazy evaluation. The Glasgow Haskell Compiler (GHC) is a state-of-the-art optimizing compiler for Haskell. It includes an interactive REPL, several profilers, alternative codegen backends, and supports x86, AArch64, PowerPC, s390x, RiscV, WASM architectures.
Release | Released | Further releases planned | Recommended for use | Latest |
---|---|---|---|---|
9.12 | 1 month and 5 days ago (16 Dec 2024) |
Yes | Yes |
9.12.1
(16 Dec 2024)
|
9.10 | 8 months ago (10 May 2024) |
Yes | Yes |
9.10.1
(10 May 2024)
|
9.8 | 1 year and 3 months ago (09 Oct 2023) |
No | Yes |
9.8.4
(29 Nov 2024)
|
9.6 | 1 year and 10 months ago (10 Mar 2023) |
Yes | Yes |
9.6.6
(01 Jul 2024)
|
9.4 | 2 years and 5 months ago (07 Aug 2022) |
No | Yes |
9.4.8
(10 Nov 2023)
|
9.2 | 3 years ago (29 Sep 2021) |
No | Yes |
9.2.8
(26 May 2023)
|
9.0 | 3 years and 11 months ago (03 Feb 2021) |
No | No |
9.0.2
(26 Dec 2021)
|
8.10 | 4 years and 10 months ago (22 Mar 2020) |
No | No |
8.10.7
(27 Aug 2021)
|
8.8 | 5 years ago (25 Aug 2019) |
No | No |
8.8.4
(15 Jul 2020)
|
8.6 | 6 years ago (21 Sep 2018) |
No | No |
8.6.5
(22 Apr 2019)
|
8.4 | 6 years and 10 months ago (08 Mar 2018) |
No | No |
8.4.4
(13 Oct 2018)
|
8.2 | 7 years ago (21 Jul 2017) |
No | No |
8.2.2
(21 Nov 2017)
|
8.0 | 8 years ago (17 May 2016) |
No | No |
8.0.2
(04 Jan 2017)
|
Version support policy of GHC is defined informally, as a working convention that can be found documented on GHC wiki.
Terminology
Because GHC is a bootstrapping compiler (meaning, it is written mostly in Haskell and compiles itself), there’re versioning considerations not quite covered with SemVer.
GHC defines:
-
Major release -
x.y.1
wherey
is even. -
Minor release -
x.y.z
wherey
is even andz ≥ 2
.
The case x.y.z
with y
odd is reserved for development purposes. These versions are termed
snapshots and are never announced for general availability.
Release policies
-
Minor releases generally do not introduce new interfaces, compiler feature additions neither removals, nor major updates in libraries shipped with compiler. They only fix bugs or performance issues in the previous release on that branch.
-
Target platforms are segregated into tiers 1, 2, and 3; and releases are gated on being in working condition on all Tier 1 platforms. Every effort is made to fix bugs in Tier 2/3 platforms, but those are not treated as release blockers.
-
Source distributions are provided to distribution packagers a week in advance, before official binaries release is announced.
-
Two-release policy. Every release of GHC must be bootstrappable with the most recent minor release of the two most-recent major releases of GHC.
Release schedule
Major releases are made twice a year.
Minor releases are made throughout the year, with no fixed schedule.
Every release is preceded by one or more release candidates, announced on GHC mailing lists.
More information is available on the Glasgow Haskell Compiler (GHC) website.
You should be running one of the supported release numbers listed above in the rightmost column.
ghc --version
Show Product Identifiers
-
repology:
ghc
-
repology:
haskell:ghc
You can submit an improvement to this page on GitHub . This page has a corresponding Talk Page.
A JSON version of this page is available at /api/ghc.json. See the API Documentation for more information. You can subscribe to the iCalendar feed at /calendar/ghc.ics.