Skip to content
forked from diku-dk/futhark

💥💻💥 A data-parallel functional programming language

License

Notifications You must be signed in to change notification settings

Zyntax9/futhark

 
 

Repository files navigation

The Futhark Programming Language

Join the chat at https://gitter.im/futhark-lang/LobbyBuild StatusWindows build statusProject Stats

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 at DIKU at the University of Copenhagen, originally as part of the HIPERFIT centre. Although still under heavy development, Futhark is already useful for practical high-performance programming.

For more information, see the website.

Also see the compiler and language documentation and the basis library documentation.

Installation instructions here.

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 good first issue 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 type-check.

About

💥💻💥 A data-parallel functional programming language

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 91.3%
  • C# 2.8%
  • Python 1.8%
  • C 1.8%
  • Yacc 1.4%
  • Logos 0.5%
  • Other 0.4%