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 TAA12141 for caml-redist; Tue, 25 Apr 2000 19:00:59 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA24133 for ; Fri, 21 Apr 2000 21:57:03 +0200 (MET DST) Received: from shell5.ba.best.com (shell5.ba.best.com [206.184.139.136]) by concorde.inria.fr (8.8.7/8.8.7) with ESMTP id VAA03978 for ; Fri, 21 Apr 2000 21:57:01 +0200 (MET DST) Received: from localhost (bpr@localhost) by shell5.ba.best.com (8.9.3/8.9.2/best.sh) with ESMTP id MAA29151; Fri, 21 Apr 2000 12:56:53 -0700 (PDT) Date: Fri, 21 Apr 2000 12:56:52 -0700 (PDT) From: Brian Rogoff To: John Max Skaller cc: Markus Mottl , Brian Rogoff , OCAML Subject: Re: When functional languages can be accepted by industry? In-Reply-To: <3900A74E.A5C17D01@maxtal.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: weis On Sat, 22 Apr 2000, John Max Skaller wrote: > Markus Mottl wrote: > >I believe that OCaml could be a > > serious threat to some scripting languages: partly due to its high > > performance, partly, because it is much saner = easier to maintain, and > > highly portable! The Unix-library is very complete and would also play an > > important role here. > > For me, it has deficiency as a scripting language: interactive > (command prompt) use is clumbsy because gnu-readline isn't integrated: > no history or editing. [This should be easy to fix: there's some code > in the Vyper.sourceforge.net repository which might be adapted.] I use ile on Solaris and that fixes that. There is an OCaml line editor "ledit" which has this functionality too, but seeing as there is now version skew between CamlP4 and OCaml that may not work for you, as it uses the Righteous syntax. BTW, I'd also like OCaml to be faster in general than C++ (and Fortran and hand coded assembler :-) but I don't buy the claim that 10% is significant for most applications. In general, OCaml is far faster than C++: to write and debug. Thats the reason I use a high level language. Debugging C++ is no fun, especially those crazy error messages that heavy template usage seems to bring. -- Brian