[Haskell-cafe] GHC for mobile devices?
Mike Ledger
eleventynine at gmail.com
Sat Nov 10 06:59:24 CET 2012
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.
On Sat, Nov 10, 2012 at 4:32 PM, Andrew Pennebaker <
andrew.pennebaker at gmail.com> wrote:
> Awesome! Jeffrey Scofield has ported OCaml to iOS<http://psellos.com/ocaml/compile-to-iossim.html>,
> so there's also experience there.
>
>
> On Fri, Nov 9, 2012 at 11:46 PM, Kristopher Micinski <
> krismicinski at 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 at 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 at haskell.org
>> > http://www.haskell.org/mailman/listinfo/haskell-cafe
>> >
>>
>
> --
> Cheers,
>
> Andrew Pennebaker
> www.yellosoft.us
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121110/12e4affa/attachment.htm>
More information about the Haskell-Cafe
mailing list