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 QAA07780; Sat, 20 Apr 2002 16:47:26 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 QAA07847 for ; Sat, 20 Apr 2002 16:47:26 +0200 (MET DST) Received: from mg.ihep.su (mg.ihep.su [194.190.161.38]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g3KElJL17409 for ; Sat, 20 Apr 2002 16:47:20 +0200 (MET DST) Received: by mg.ihep.su (Postfix, from userid 65436) id 8ACC6B50A7; Sat, 20 Apr 2002 18:47:18 +0400 (MSD) Received: from ontil.ihep.su (ontil.ihep.su [194.190.161.63]) by mg.ihep.su (Postfix) with ESMTP id 2F861B50B5; Sat, 20 Apr 2002 18:47:13 +0400 (MSD) Received: from localhost (vsl@localhost) by ontil.ihep.su (8.11.6/8.11.6) with ESMTP id g3KEpqL28360; Sat, 20 Apr 2002 18:51:52 +0400 Date: Sat, 20 Apr 2002 18:51:52 +0400 (MSD) From: Vitaly Lugovsky To: =?iso-8859-1?q?J=E9r=F4me?= Marant Cc: Subject: Re: [Caml-list] Ocaml efficiency In-Reply-To: <87k7r2r8j5.fsf@marant.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=koi8-r Content-Transfer-Encoding: 8BIT Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sat, 20 Apr 2002, [iso-8859-1] Jérôme Marant wrote: > > Hi, > > Some people are sometimes writing or thinking about writing > applications in OCaml without knowing it OCaml is suitable > for the kind of applications they're writing. > > So my question is for what kind of applications isn't OCaml > suitable for and better written in a lower lever language? > > What is the real cost (in CPU) of interfaces to C libraries > since some processing have to be performed in order to convert > lower level types to Caml types? I think, that there is no formal answer to your question. Use profiler to find out the bottleneck... ------------------- 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