Re: [Haskell-cafe] Mobile app development?

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
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
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@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- -- Regards, KC
-- Cheers,
Andrew Pennebaker www.yellosoft.us
-- -- Regards, KC

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
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
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
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@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@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

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... 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
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
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
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@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@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On Jan 19, 2013, at 10:29 PM, Nathan Hüsken wrote:
Recently I managed to get ghc to target android working (this still needs some work): [4].
this is great news, thanks!
Of couse, ffi bindings for all these platforms would be needed to get serious.
i think that you can get quite serious already if the main "model" is implemented in haskell and you only need bindings for communicating with a native user interface. sk
participants (4)
-
Bob Ippolito
-
KC
-
Nathan Hüsken
-
Stefan Kersten