caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* iPhone development
@ 2009-11-24 13:45 Yitzhak Mandelbaum
  2009-11-26  1:40 ` Jeffrey Scofield
  0 siblings, 1 reply; 2+ messages in thread
From: Yitzhak Mandelbaum @ 2009-11-24 13:45 UTC (permalink / raw)
  To: Caml-list List

Hi,

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?  Some specific questions:

1. Does anyone know of any open-source code that helps to interface  
OCaml with Cocoa?
2. In May, Jeff Scofield posted a patch to 3.10.2 for cross compiling  
to the arm processor. What about 3.11.x?

Thanks in advance,

Yitzhak

-----------------------------
Yitzhak Mandelbaum




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: iPhone development
  2009-11-24 13:45 iPhone development Yitzhak Mandelbaum
@ 2009-11-26  1:40 ` Jeffrey Scofield
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey Scofield @ 2009-11-26  1:40 UTC (permalink / raw)
  To: Yitzhak Mandelbaum; +Cc: Caml-list List

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-26  1:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24 13:45 iPhone development Yitzhak Mandelbaum
2009-11-26  1:40 ` Jeffrey Scofield

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).