News for hackers. Stuff that matters.
Re:15 Years of Concurrency by Athas on Thursday December 01, 2016 @02:52AM (#13077934)
Functional array programming on GPUs works pretty well, and is an immutable programming style. Your object granularity tends to be pretty big (entire arrays), so the low-level shared memory concerns that inevitably arise at some point in the software stack are easy to handle for the compiler and/or runtime. Basically, you have much fewer synchronisation points, so you can afford for them to be slow.

It's a more restricted programming style than common functional programming - in particular, recursion and advanced control flow is out - but that's the name of the game on GPUs, no matter what you do.

Re:15 Years of Concurrency by pjmlp on Thursday December 01, 2016 @06:30AM (#13078705)
And there are at least Haskell and F# implementations for GPGPU, not sure about other languages.