From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA28052; Fri, 3 Jan 2003 12:40:04 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA28048 for ; Fri, 3 Jan 2003 12:40:03 +0100 (MET) Received: from hirsch.in-berlin.de (hirsch.in-berlin.de [192.109.42.6]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h03Be2524357 for ; Fri, 3 Jan 2003 12:40:02 +0100 (MET) Received: from hirsch.in-berlin.de (localhost [127.0.0.1]) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with ESMTP id h03Be2vn025805 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Fri, 3 Jan 2003 12:40:02 +0100 Received: (from uucp@localhost) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with UUCP id h03Be1Zx025800 for caml-list@inria.fr; Fri, 3 Jan 2003 12:40:01 +0100 X-Envelope-From: cle@qiao.in-berlin.de X-Envelope-To: caml-list@inria.fr Received: (qmail 229 invoked by uid 500); 3 Jan 2003 11:38:33 -0000 Date: Fri, 3 Jan 2003 12:38:33 +0100 From: Clemens Hintze To: caml-list@inria.fr Subject: [Caml-list] Re: speed Message-ID: <20030103123829.A210@qiao.localnet> References: <3E15B3B3.3040106@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E15B3B3.3040106@163.com> User-Agent: Mutt/1.3.19i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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. -- Clemens Hintze mailto: c.hintze (at) gmx.net ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners