Futhark by example (2020)
Futhark is a functional array language designed for high-performance computing, particularly on GPUs. The Futhark by Example page (2020) offers a series of code snippets and explanations that illustrate the language's syntax and capabilities. Examples include matrix multiplication, dot product, and image convolution, all written in a clean, declarative style. Futhark compiles to efficient parallel code, often outperforming hand-tuned CUDA or OpenCL implementations. The examples highlight Futhark's unique features like size-dependent types and automatic parallelization, making it accessible for developers interested in functional programming and high-performance computing. The page serves as a practical introduction for those looking to leverage Futhark for numerical workloads.
Futhark offers a functional approach to high-performance parallel computing, enabling concise code that runs efficiently on GPUs.