# diku-dk/futhark

:boom::computer::boom: A data-parallel functional programming language

Repository: https://github.com/diku-dk/futhark
Canonical: https://ross.abutalabs.com/products/futhark
Homepage: http://futhark-lang.org
Language: Haskell
License: ISC
License Family: permissive
Topics: language, boom, gpu, hpc, compiler, gpgpu, futhark, opencl, cuda, hacktoberfest
Last push: 2026-08-26T16:05:41+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 4961, "days_push": 7, "days_rel": 14, "gap_med": 30.5, "n_releases_24m": 21}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2793, forks 208 (observed 2026-08-28T04:07:22.233007+00:00)

## What it is
Futhark is a purely functional, statically typed data-parallel array programming language in the ML family, developed at the University of Copenhagen. Its optimizing ahead-of-time compiler generates efficient GPU code (CUDA, HIP, OpenCL) or multi-threaded CPU code, intended for compute-intensive kernels called from other languages.

## Use cases
- accelerate array computations on the GPU without writing CUDA or OpenCL by hand
- compile a small compute-intensive kernel to call from Python, Rust, Haskell, or C
- write high-performance parallel numeric code in a functional language
- prototype GPGPU data-parallel algorithms with automatic differentiation
- generate multi-threaded CPU code for parallel workloads

## When to choose
- you need high-performance data-parallel array code and want to avoid hand-written GPU kernels
- you want a small, purely functional language with a heavily optimizing compiler
- you need to embed fast compute kernels into applications written in other languages

## When to avoid
- you need a general-purpose language for full applications - Futhark is meant for small compute-intensive parts
- you need graphics programming - it targets compute, not rendering
- you rely on features Futhark omits to guarantee high-performance parallelism

## Facets
- artifact type: cli-tool
- maturity: active
- function: compiler, programming-language, gpu-computing, math, concurrency
- domain: programming-languages, compilers, gpu-computing, performance
- platform: windows, cli, cross-platform
- tags: futhark, data-parallel, functional-programming, array-language, opencl, cuda, hip, hpc, ml-family, automatic-differentiation, algorithms, high-performance-computing, linux, macos, gpu

## Member repositories
- diku-dk/futhark (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:22.233007+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:49:13.838368+00:00, confidence not recorded.
  - readme: https://github.com/diku-dk/futhark (fetched 2026-08-28T04:07:22.233007+00:00, sha 2dd231f2a53a)
  - homepage: http://futhark-lang.org (fetched 2026-08-29T09:55:01.534638+00:00, sha d085a6bbe7f5)
  - site_page: https://futhark-lang.org/docs.html (fetched 2026-08-29T09:55:01.543877+00:00, sha 1c435d99514a)
  - site_page: https://futhark-lang.org/docs/prelude (fetched 2026-08-29T09:55:01.545754+00:00, sha 189dd0680287)
- Data as of 2026-08-30T08:39:29.467469+00:00.
