@hackage futhark0.21.8
An optimising compiler for a functional, array-oriented language.
Installation
Dependencies (46)
- aeson >=2.0.0.0
- ansi-terminal >=0.6.3.1
- array >=0.4
- base >=4.13 && <5
- base16-bytestring
- binary >=0.8.3 Show all…
Dependents (1)
@hackage/shake-futhark
Futhark is a small programming language designed to be compiled to efficient parallel code. It is a statically typed, data-parallel, and purely functional array language in the ML family, and comes with a heavily optimising ahead-of-time compiler that presently generates GPU code via CUDA and OpenCL, although the language itself is hardware-agnostic.
For more information, see the website at https://futhark-lang.org
For introductionary information about hacking on the Futhark compiler, see the hacking guide. Regarding the internal design of the compiler, the following modules make good starting points:
Futharkcontains a basic architectural overview of the compiler.Futhark.IR.Syntaxexplains the basic design of the intermediate representation (IR).Futhark.Constructexplains how to write code that manipulates and creates AST fragments.