What is Futhark? | Futhark – A High Performance Functional Array Language

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 OpenCL, although the language itself is hardware-agnostic. As a simple example, this function computes the average of an array of 64-bit floating-point numbers: