I had hoped that compiling Haskell to C with -fvia-C (or would it be just -C?) would allow Haskell to run in new, uncharted territory such as Android (with NDK), IOS, Google's NaCl, etc. But today I learned that GHC's C backend has been deprecated! Is it more difficult than I am imagining to get Haskell to work in these environments? Is it simply a matter of low interest in this kind of work? Or something more fundamental? Am I missing something?
Yesod has been a tremendous push forward in this direction but, as you
already stated, the browser and android devices remain mostly
unexplored in Haskell. Here's my bit:
- There's a port of ghc for iphone.
- There's frege (http://code.google.com/p/frege/), a non-strict, pure,
functional programming language in the spirit of Haskell.
- I've been working as a freelance developer for some time now. I
focus on desktop apps in Haskell. I can't say I'm overwhelmed by the
amount of offers (speaking of which, if anyone needs a freelance
haskell developer,... ahem), but this area will not be clinically
"dead" as long as we cannot use web applications knowing (99% sure)
that the owner of the website cannot use our personal information for
any purpose other than giving us our service. There's only two kinds
of clients here, though: those that explicitly want Haskell, and those
than don't care about the programming language. Otherwise, you'll have
to sell Haskell and, personally, I'm not that good a salesman (10%
success, tops).
- I've also ported Haskell designs to other programming languages
(with small adaptations). I only found this cost-effective because the
code in Haskell was not going to be thrown away.
Good luck. Please, let us know what you find.
Cheers,
Ivan.