[Haskell-cafe] Mobile app development?
Nathan Hüsken
nathan.huesken at posteo.de
Sat Jan 19 22:29:36 CET 2013
Well, to target javascript there is haste [1] and ghcjs [2].
Ghc can target iOS [3].
Recently I managed to get ghc to target android working (this still
needs some work): [4].
And there is also an active effort by Stephen Paul Weber to get
blackberry working in the devs-ghc mailinglist.
So my impression is, that multiplatform haskell is on its way.
Of couse, ffi bindings for all these platforms would be needed to get
serious.
[1]: https://github.com/valderman/haste-compiler.git
[2]: https://github.com/ghcjs/ghcjs
[3]: https://github.com/ghc-ios/ghc/wiki
[4]:
https://github.com/RudolfVonKrugstein/jshaskell-blog/blob/master/android_ghc/android_ghc.md
On 01/19/2013 09:48 PM, Bob Ippolito wrote:
> LLVM probably already supports producing native code for all of the
> architectures for the mobile platforms. The non-trivial parts are probably
> getting GHC to cross-compile and wrapping all of the libraries you need for
> the platforms you want to support.
>
>
> On Sat, Jan 19, 2013 at 12:41 PM, KC <kc1956 at gmail.com> wrote:
>
>> Then it looks as if the easier implementation would be small Haskell
>> VM's for the various platforms with a byte code compiler.
>> I do not believe the JVM supports all the optimizations GHC can do.
>>
>> Oh wait!
>> Can the LLVM be easily ported to do this?
>>
>>
>> On Sat, Jan 19, 2013 at 11:40 AM, Andrew Pennebaker
>> <andrew.pennebaker at gmail.com> wrote:
>>>
>>>> Might be easier to have the browser connect to a Haskell app.
>>>
>>>
>>> Not all apps can be run as thin clients. 3D video games and other
>> intensive
>>> programs aren't easily done as thin clients. Mobile Haskell would be very
>>> powerful, because concurrency and parallelism aren't something the
>> C-family
>>> languages are supporting that well.
>>>
>>>>
>>>>
>>>>
>>>> On Sat, Jan 19, 2013 at 10:42 AM, Andrew Pennebaker
>>>> <andrew.pennebaker at gmail.com> wrote:
>>>>> There are currently very few options, especially free and open source
>>>>> options, when it comes to developing cross-platform mobile
>> applications.
>>>>> It's basically web apps with JavaScript, or C++. If Haskell supported
>>>>> app
>>>>> development on Android, iOS, and Windows RT, that alone would bring in
>>>>> more
>>>>> developers.
>>>>>
>>>>> Similarly, there are very few languages for mobile development that
>> take
>>>>> advantage of multiple cores and multiple CPUs. Haskell's `parmap` is
>> an
>>>>> amazing selling point. Can we please prioritize mobile support? I'd
>> much
>>>>> rather write everything in ML than PhoneGap.
>>>>>
>>>>> --
>>>>> Cheers,
>>>>>
>>>>> Andrew Pennebaker
>>>>> www.yellosoft.us
>>>>>
>>>>> _______________________________________________
>>>>> Haskell-Cafe mailing list
>>>>> Haskell-Cafe at haskell.org
>>>>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Regards,
>>>> KC
>>>
>>>
>>>
>>>
>>> --
>>> Cheers,
>>>
>>> Andrew Pennebaker
>>> www.yellosoft.us
>>
>>
>>
>> --
>> --
>> Regards,
>> KC
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
More information about the Haskell-Cafe
mailing list