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 UAA28281; Wed, 24 Apr 2002 20:32:10 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA28514 for caml-list@pauillac.inria.fr; Wed, 24 Apr 2002 20:32:09 +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 SAA25990 for ; Wed, 24 Apr 2002 18:25:08 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from chinon (aboukir-101-1-17-jmarant.adsl.nerim.net [62.212.105.6]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g3OGP7118881 for ; Wed, 24 Apr 2002 18:25:07 +0200 (MET DST) Received: from jerome by chinon with local (Exim 3.35 #1 (Debian)) id 170PZq-0000Cf-00 for ; Wed, 24 Apr 2002 18:25:06 +0200 To: caml-list@inria.fr Subject: Re: [Caml-list] Ocaml efficiency References: <87k7r2r8j5.fsf@marant.org> <20020424140512.A17777@pauillac.inria.fr> From: jmarant@nerim.net (=?iso-8859-1?q?J=E9r=F4me?= Marant) Date: Wed, 24 Apr 2002 18:25:06 +0200 In-Reply-To: <20020424140512.A17777@pauillac.inria.fr> (Xavier Leroy's message of "Wed, 24 Apr 2002 14:05:12 +0200") Message-ID: <87g01lrrml.fsf@marant.org> User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Xavier Leroy writes: > One example is software components that take a low-level view of the > memory (as an untyped collection of bytes or words accessed via > addresses): memory managers, garbage collectors, device drivers, and > to some extent virtual machine interpreters. ... > Caml/C conversions on other data types can be more expensive, though. > Still, as long as the C function does some real work (e.g. 1000 cycles > of computation), the overhead of calling it from Caml should be > negligible. Many thanks for all those accurate explainations. Cheers, -- Jérôme Marant http://marant.org ------------------- 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