From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: weis Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA26031 for caml-redistribution; Wed, 6 Oct 1999 16:20:58 +0200 (MET DST) 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 JAA16186 for ; Wed, 6 Oct 1999 09:33:53 +0200 (MET DST) Received: from ruby (pm1-25.triode.net.au [203.63.235.41]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id JAA01026 for ; Wed, 6 Oct 1999 09:33:50 +0200 (MET DST) Received: from maxtal.com.au (IDENT:root@localhost [127.0.0.1]) by ruby (8.9.3/8.9.3) with ESMTP id UAA01576; Wed, 6 Oct 1999 20:22:51 +1000 Sender: weis Message-ID: <37FB22FB.4B44376E@maxtal.com.au> Date: Wed, 06 Oct 1999 20:22:51 +1000 From: skaller Organization: Maxtal P/L X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.12 i586) X-Accept-Language: en MIME-Version: 1.0 To: chet@watson.ibm.com CC: Jan Brosius , OCAML Subject: Re: speed versus C References: <199910052322.TAA00554@bismarck.chet.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit chet@watson.ibm.com wrote: > > The Caml XML parser I wrote was competitive with XML4C (slightly faster), > and blew XML4J out of the water (10x). > > This was using the native-code compiler. > > The Caml XSL processor I wrote handily beat Java XSL processors. > > My guess is that if you're thinking of writing in C, and you don't > need low-level access to real memory and such, you will find that CAML > is more than fast enough. Thanks for the info: I suspected that this was the case, quite apart from being easier to develop with. My biggest problem using ocaml is that I'm still a naive user: I cannot tell easily which operations will be fast and which will not. In C/C++ I don't have this problem since I understand many of the ways in which it is implemented. -- John Skaller, mailto:skaller@maxtal.com.au 1/10 Toxteth Rd Glebe NSW 2037 Australia homepage: http://www.maxtal.com.au/~skaller downloads: http://www.triode.net.au/~skaller