bluerider / futhark

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

Home Page:http://futhark-lang.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Futhark

Futhark is a purely functional data-parallel programming language. Its optimising compiler is able to compile it to typically very performant GPU code. The language and compiler is developed as part of the HIPERFIT project at DIKU. The project is still research-quality, and the focus has mostly been on ensuring high runtime-performance, so the source language still lacks many niceties for manual programming - it is fairly usable as a target for high-level code generation, however.

For more information, see the website.

The incomplete documentation is here.

Installation instructions here.

Statistics

Issue Stats Issue Stats Build Status Project Stats

Installation

Please see our installation instructions.

Usage

To compile a Futhark program to sequential C:

futhark-c prog.fut -o prog

Or maybe OpenCL:

futhark-opencl prog.fut -o prog

And then run it:

./prog < prog.input

To interpret a Futhark program:

futharki prog.fut < prog.input

Hacking

We try to make use of Github issues for organising our work. Issues tagged with newbie-friendly do not require deep knowledge of the code base.

Testing

Run the futhark-test tests to check how well we're doing. Use futhark-test -t if you're in a hurry and only want to check that all the tests compile.

About

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

http://futhark-lang.org

License:ISC License


Languages

Language:Haskell 95.8%Language:Yacc 1.6%Language:C 1.4%Language:Python 0.6%Language:Logos 0.5%Language:Shell 0.1%