Hacker News new | ask | show | jobs
by Herrin 2426 days ago
I found this more readable and understandable than the Haskell post, although I can't quite say why. It might simply be the repetition.

I'm really interested in Futhark, though I haven't found a project where it would be make sense to use it. But I feel like it has the same potential to make GPU programming not feel overwhelming the same way Elm did with frontend work for me.

1 comments

Since Futhark has sum types, I wonder whether we could transpile Elm syntax to Futhark. I'll have to dig into what's possible with Futhark and how well it would map...
James Carson gave a talk at this year's Elm Conf on using Elm to talk to Futhark:

https://www.youtube.com/watch?v=FVP8zxpZKV8

The biggest problem would be the absence of recursion, but a recursion-free subset of Elm (with a different standard library) would be straightforward.