Re: [Haskell-cafe] GHC for mobile devices?

2012-11-12 Thread Ivan Perez
I found [1] a few months ago. It outputs Java bytecode, so it should work on android. Given that Android development in java is very well supported in eclipse, you might want to use haskell/frege only for the internals of your program and keep coding your interface in Java. [1]

Re: [Haskell-cafe] GHC for mobile devices?

2012-11-12 Thread Luke Iannini
Hi All, https://github.com/ghc-ios/ghc/wiki explains how to get Stephen Blackheath's GHC fork for iOS running — it's a bumpy road (cleanups are underway) but I've got Cloud Haskell, ObjectiveHaskell, LevelDB and my own libraries running wonderfully on my iPad. I just updated the wiki with a few

Re: [Haskell-cafe] GHC for mobile devices?

2012-11-11 Thread Kristopher Micinski
Yes, and the Android NDK allows you to write arbitrary C code, it's just a slightly less than pleasant interface with the SDK :-(. Perhaps it's easier to do this in iOS as it's all objective C rather than a vm with a runtime system. Also not sure what the status of porting the runtime system to

Re: [Haskell-cafe] GHC for mobile devices?

2012-11-10 Thread Kristopher Micinski
Yes, I've seen some of the work done on this and I think he's also looked into OCaml on Android. To be completely honest it's not really the language that's such the barrier: the hard truth is that any Android app doing anything of interest is necessarily going to be using the Android framework.

Re: [Haskell-cafe] GHC for mobile devices?

2012-11-10 Thread Casey Basichis
I've been looking for the last two days through every nook and cranny of google to find information about building for iOS. It seems to be the case that it was once possible to get ios running and now its a bit questionable. I've tried ghc-ios, ghc-iphone and a few others which are all somewhat

Re: [Haskell-cafe] GHC for mobile devices?

2012-11-10 Thread Kristopher Micinski
On Sat, Nov 10, 2012 at 9:21 AM, Casey Basichis caseybasic...@gmail.com wrote: As for you notion of hard truth, and dumb apps acting as web front ends its pretty blase to assume that anyone interested in this thread will share that perspective in terms of their own goals on these platforms. I

Re: [Haskell-cafe] GHC for mobile devices?

2012-11-10 Thread Casey Basichis
Hi Kris, No offense taken, it was an argument that works to shut down constructive discussion of how to get Haskell running on mobile, a task which has perplexed me for several long days. I agree most apps are pretty terrible, at least on iOS though, despite the percentages being wildly off

Re: [Haskell-cafe] GHC for mobile devices?

2012-11-10 Thread Kristopher Micinski
On Sat, Nov 10, 2012 at 3:50 PM, Casey Basichis caseybasic...@gmail.com wrote: Hi Kris, No offense taken, it was an argument that works to shut down constructive discussion of how to get Haskell running on mobile, a task which has perplexed me for several long days. I agree most apps are

Re: [Haskell-cafe] GHC for mobile devices?

2012-11-10 Thread Andrew Pennebaker
I've tried porting GHC to Haiku OS, a Unix-like desktop OS, but the state of the GHC build system is fairly confusing. The build scripts contain a Perl script with a bad shebang, and you can't build GHC without already having a working older version. If someone can point me to the most recent GHC

Re: [Haskell-cafe] GHC for mobile devices?

2012-11-10 Thread Andrew Pennebaker
ASM for iOS is possible, so GHC mobile should be possible. www.shervinemami.info/armAssembly.html#howto On Nov 10, 2012 5:59 PM, Andrew Pennebaker andrew.penneba...@gmail.com wrote: I've tried porting GHC to Haiku OS, a Unix-like desktop OS, but the state of the GHC build system is fairly

[Haskell-cafe] GHC for mobile devices?

2012-11-09 Thread Andrew Pennebaker
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

Re: [Haskell-cafe] GHC for mobile devices?

2012-11-09 Thread Kristopher Micinski
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

Re: [Haskell-cafe] GHC for mobile devices?

2012-11-09 Thread Andrew Pennebaker
Awesome! Jeffrey Scofield has ported OCaml to iOShttp://psellos.com/ocaml/compile-to-iossim.html, so there's also experience there. On Fri, Nov 9, 2012 at 11:46 PM, Kristopher Micinski krismicin...@gmail.com wrote: If you have interest in doing this, I have quite a bit of experience in

Re: [Haskell-cafe] GHC for mobile devices?

2012-11-09 Thread Mike Ledger
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