I would be so very happy to be able to program Haskell Android programs. I think the steps we'd need are to 1. Port GHC to ARM (done already?) and 2. Create a JVM calling convention for GHC (using JNI? I have no idea). Short of actually making a new calling convention for the JVM, maybe we could use the JNI to create a thin C wrapper that has the code we want to import normally.
Unfortunately I have no idea of where to start and very little experience with Android other than firing up Eclipse, playing around with simple applications and being very dissatisfied.
Awesome! Jeffrey Scofield has ported OCaml to iOS, so there's also experience there.On Fri, Nov 9, 2012 at 11:46 PM, Kristopher Micinski <krismicinski@gmail.com> wrote:
If you have interest in doing this, I have quite a bit of experience
in Android hacking at the system level and above and would be glad to
talk about what might need to happen. (Though I don't know the GHC
internals / toolchain so well.)
One potential choice is Scala, though from my limited experience
that's a very rough imitation of the uses for Haskell. (Though,
obviously it works mostly out of the box because of the JVM compiler
target..)
http://www.haskell.org/haskellwiki/Android
I've been writing up some thoughts on the Android activity lifecycle
already interpreted with respect to FP, apps are quite functional
already for a variety of reasons.
kris
> _______________________________________________
On Fri, Nov 9, 2012 at 8:51 PM, Andrew Pennebaker
<andrew.pennebaker@gmail.com> wrote:
> I'd love to use Haskell directly for making mobiles apps. How can we make
> this happen, porting GHC to Android, iOS, and Windows Phone?
>
> --
> Cheers,
>
> Andrew Pennebaker
> www.yellosoft.us
>
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
--
Cheers,Andrew Pennebaker
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe