|
|
Subscribe / Log in / New account

New functional programming language can generate C, Python code for apps (InfoWorld)

New functional programming language can generate C, Python code for apps (InfoWorld)

[Development] Posted Apr 26, 2016 20:24 UTC (Tue) by ris

InfoWorld introduces Futhark, an open source functional programming language designed for creating code that runs on GPUs. It can automatically generate both C and Python code to be integrated with existing apps. "Most GPU programming involves using frameworks like OpenCL or CUDA, both of which use variations of C or C++ to generate code that runs on the GPU. Futhark can generate C code, but is its own language, more similar to Haskell or Standard ML than C. (Futhark is itself written in Haskell.) Futhark's creators claim that the expressiveness of the language makes it easier to describe complex operations that use parallelism. This includes the ability to support nested parallelizations (parallel operations inside other parallel operations). Futhark can do this "despite the complexities of efficiently mapping to the flat parallelism supported by hardware, as a great many programs depend on this feature," say the language's creators."

Comments (18 posted)


Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds