caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jeffrey Scofield <dynasticon@mac.com>
To: Yitzhak Mandelbaum <yitzhakm@CS.Princeton.EDU>
Cc: Caml-list List <caml-list@inria.fr>
Subject: Re: iPhone development
Date: Wed, 25 Nov 2009 17:40:43 -0800	[thread overview]
Message-ID: <m2skc2t65g.fsf@mac.com> (raw)
In-Reply-To: <4AEA687E-463B-4F90-BFDE-12283F0C3738@cs.princeton.edu>

Yitzhak Mandelbaum <yitzhakm@CS.Princeton.EDU> writes:

> Back in May there was a brief discussion about developing for the
> iPhone in OCaml.   Does anyone from that discussion, or anyone else,
> have any updates on the process/experience?

Greetings.

We're nearing completion of our first OCaml iPhone app.  It's been
fantastic coding the app in OCaml.  But on the other hand, there's a
lot of work to make that possible.  In the long term, however, I
expect it will turn out to have been a great decision.

With Apple's release of iPhoneOS 3.0 we found that our previous
(somewhat hackish) patches were no longer working.  We have a new set of
patches to OCaml 3.10.2 that adopt the OCaml 3.12 register assignments
for ARM, and are a little more properly integrated with the OCaml code
generator.  In particular, the register assignments (as in OCaml 3.12)
avoid use of registers reserved to the OS.  We can report that this
works perfectly under both iPhoneOS 2.2.1 and iPhoneOS 3.0.  So things
are looking good for the OCaml 3.12 release as a basis for cross
compilation to the iPhone.

>  Some specific questions:
>
> 1. Does anyone know of any open-source code that helps to interface
>     OCaml with Cocoa?

No, sorry.  We wrote our own code to do this.

> 2. In May, Jeff Scofield posted a patch to 3.10.2 for cross compiling
> to the arm processor. What about 3.11.x?

Since the ARM code generator is completely revamped for OCaml 3.12 we
are currently planning to skip the 3.11 release.

Regards,

Jeff Scofield
Seattle


      reply	other threads:[~2009-11-26  1:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 13:45 Yitzhak Mandelbaum
2009-11-26  1:40 ` Jeffrey Scofield [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2skc2t65g.fsf@mac.com \
    --to=dynasticon@mac.com \
    --cc=caml-list@inria.fr \
    --cc=yitzhakm@CS.Princeton.EDU \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).