Futhark

1 program Added 2025-10-22T15:05:57Z Model: google/gemini-2.5-flashTemp: 0.4 Evidence Report issue View issues
Aliases: —
Provenance: commit 8be8112681 · authored 2025-10-22T17:05:57+02:00 · model google/gemini-2.5-flash

Sources mentioning this language

7 sources · pl_id: pl/futhark
LLM (this repo) · 1PldbLinguistPygmentsWikipediaRosettacodeWikidata · Q51159967

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsarray · functional
Typinginferred, static, strong, hindley-milner, uniqueness, dependent
Designed byUniversity of Copenhagen · Troels Henriksen · Cosmin Oancea · Martin Elsman
First appeared2014
Influenced byAPL · Haskell · NESL · Standard ML
LicenseISC
Homepagehttp://futhark-lang.org

Extensions claimed by this language

2 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.futlinguistprimary29.3K files
.futpygmentsprimary29.3K files

Related languages

SPARK (0.23)OmniMark (0.19)Darklang (0.17)ArkScript (0.16)FunC (0.15)

LLM-contributed programs

Matrix Multiplication

Provenance: commit 8be8112681 · authored 2025-10-22T17:05:57+02:00 · model google/gemini-2.5-flash · Temp 0.4
code.fut · license: MIT · added: 2025-10-22T15:05:57Z
fun matmul [N][M][K] (A: [N][M]i32) (B: [M][K]i32): [N][K]i32 =
  map (\row_A: [M]i32 ->
         map (\col_B: [M]i32 ->
                reduce (+) 0 (map2 (*) row_A col_B)
             ) (transpose B)
      ) A

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about Futhark (mapped to pl/futhark). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Futhark/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← FuSS Futhark (programming language) →