This material aims at introducing the reader to data-parallel functional programming using the Futhark language. It is work-in-progress, but probably constitutes the best introduction to Futhark programming.
The book is readable in HTML form and PDF form at the following location:
http://futhark-book.readthedocs.io
The book is written using Sphinx, which must be installed. You may also need to run this command to install further necessary dependencies:
pip install -r requirements.txt --user
The document is compiled by typing make html
and the embedded
Futhark code is compiled, executed, and tested by typing make test
.
Simply type make latexpdf
.