From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA26951 for caml-redistribution; Tue, 31 Aug 1999 19:14:46 +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 HAA13137 for ; Tue, 31 Aug 1999 07:50:37 +0200 (MET DST) Received: from shell5.ba.best.com (shell5.ba.best.com [206.184.139.136]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id HAA18554 for ; Tue, 31 Aug 1999 07:50:34 +0200 (MET DST) Received: from localhost (bpr@localhost) by shell5.ba.best.com (8.9.3/8.9.2/best.sh) with ESMTP id WAA26831 for ; Mon, 30 Aug 1999 22:50:30 -0700 (PDT) Date: Mon, 30 Aug 1999 22:50:30 -0700 (PDT) From: Brian Rogoff To: OCAML Subject: Re: convincing management to switch to Ocaml In-Reply-To: <3.0.6.32.19990828162457.009677a0@mail.triode.net.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: weis On Sat, 28 Aug 1999, John Skaller wrote: > At 12:00 27/08/99 +0200, Andreas Rossberg wrote: > >You are right that there are more than just technical reasons for > >choosing a particular technology. And many (not all) of these arguments > >have their justification. However, I don't agree that in the particular > >case of OCaml vs. C++ there exist any _technical_ advantages in the > >language C++ itself. > > I am not sure due to inexperience with Ocaml, but I would > guess (since I know C++ backwards) that the main issue would > be performance, and a secondary issue the ocaml compilation > system (with the requirement on a strict ordering which is > getting in my way at present). Consider that C is roughly a subset of C++. Since OCaml is technically superior in every way to C, the OCaml implementors are then not very smart since certain libraries (bignums, regexps, ...) are coded in C, not pure OCaml, even though they could easily be written in pure OCaml. Since we know the OCaml implementors are very smart, we have reduced the hypothesis of unqualified OCaml superiority to an absurdity :-). Use the right tool for the job. I probably wouldn't write hardware simulation models in OCaml. I probably wouldn't write the program to do clock tree insertion or scan insertion (essentially build a parse tree of structural Verilog and then abuse it) in anything else. Well, maybe SML or Icon would not be horrible... -- Brian