DevOps

Glasgow Haskell Compiler – programming suite for Haskell

Glasgow Haskell Compiler (GHC) is a state-of-the-art programming suite for Haskell. This software includes an optimising compiler generating good code for a variety of platforms, together with an interactive system for convenient, quick development. The distribution includes space and time profiling facilities, a large collection of libraries, and support for various language extensions, including concurrency, exceptions, and foreign language interfaces (C, whatever).

GHC has two main components: an interactive Haskell interpreter (also known as GHCi), and a batch compiler. In fact, GHC consists of a single program which is just run with different options to provide either the interactive or the batch system.

Haskel is “the” standard lazy functional programming language. Haskell98 is the current version of the language.

Key Features

  • Supports the entire Haskell 98 language plus a wide variety of extensions.
  • Good support for concurrency and parallelism, including support for Software Transactional Memory (STM).
  • Generates fast code, particularly for concurrent programs.
  • Extensive optimisation capabilities, including inter-module optimisation.
  • Compiles Haskell code either by using an intermediate C compiler (GCC), or by generating native code on some platforms.
  • Profiling is supported, both by time/allocation and various kinds of heap profiling.
  • A wide range of libraries is included.
  • Works on several platforms.

Website: www.haskell.org/ghc
Support: Documentation
Developer: The University Court of the University of Glasgow
License: Glasgow Haskell Compiler License

Glasgow Haskell Compiler is written in Haskell and C. Learn Haskell with our recommended free books and free tutorials. Learn C with our recommended free books and free tutorials.


Related Software

Compilers
GNU Compiler CollectionThe standard compiler for most Unix-like operating systems
rustcCompiler for the Rust programming language
AOCCAMD Optimizing C/C++ Compiler
LLVMLow-Level Virtual Machine (LLVM) compiler for C/C++
ispcIntel SPMD Program Compiler
BabelJavaScript compiler - use next generation JavaScript
Glasgow Haskell CompilerAn optimizing compiler for Haskell, written in Haskell
ClangC Language Family Frontend for LLVM
NuitkaOptimizing Python compiler
CHICKENCompiler for the Scheme programming language
FreeBASIC32-bit BASIC compiler
NumbaCompiler for Python array and numerical functions
Free PascalAdvanced Pascal compiler for Pascal and Object Pascal
NASMAssembler for the x86 CPU architecture
BiglooPractical Scheme compiler

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted