[Caml-list] Re: optimize div to right shift (NOT!)

2010-12-13 Thread Jonathan Kimmitt
> A C compiler would optimize this to a right shift. Changing that to > 'Int64.shift_right n 1' speeds > up the code. Sorry to be a pedant, but this is not correct. The optimisation is only possible when the arguments are unsigned integers which I don't think is specifiable when working in OCAM

Re: [Caml-list] Type Safety comes to the iPad

2010-11-09 Thread Jonathan Kimmitt
more on your experience ? > Which tools did you use? How convenient it is? What drawback did you > encounter? > > Cheers, > Vincent > > Le 9 nov. 10 à 10:31, Jonathan Kimmitt a écrit : > >> I thought you might be interested to know that my new OCAML App for the i

Re: [Caml-list] Type Safety comes to the iPad

2010-11-09 Thread Jonathan Kimmitt
I can do Ocaml on it". >> Can you report a bit more on your experience ? >> Which tools did you use? How convenient it is? What drawback did you >> encounter? >> >> Cheers, >> Vincent >> >> Le 9 nov. 10 à 10:31, Jonathan Kimmitt a écrit : &

[Caml-list] Type Safety comes to the iPad

2010-11-09 Thread Jonathan Kimmitt
I thought you might be interested to know that my new OCAML App for the iPad was published on the iTunes Store yesterday. I believe this is a significant achievement given the notorious reluctance of Apple to embrace languages other than C/obj-C/C++ and I would hope it would promote wider dissem