Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] speed
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-01-03 (11:40)
From: Clemens Hintze <ml-ocaml@q...>
Subject: [Caml-list] Re: speed
In mailing-list.ocaml, you wrote:
> Is it normal that my ocaml program is only 2 times faster than the
> java counterpart ?(using the same method and complied into native.
> jdk is 1.4.1

I do not believe, that this is normal, to be expected, or general
case.  There are, for sure, programs that may be faster in Java than
in O'Caml. But those should be exceptions!

Also it could be, that you have a excellent written Java application,
using all performance improvements that are possible with Java and
comparing that against a poorly written O'Caml application using all
anti-performance improvements possible ;-)

Would you mind to post some code showing the performance difference? I
am very interested in that as I "sell" O'Caml as generally faster than
Java to some of my colleagues, and I do not want to be a story teller

Thanks in advance,

Clemens Hintze  mailto: c.hintze (at)
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: