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 IAA17909; Thu, 9 Aug 2001 08:59: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 IAA17762 for ; Thu, 9 Aug 2001 08:59:25 +0200 (MET DST) Received: from quetelet.bik-gmbh.de (quetelet.bik-gmbh.de [194.233.237.132]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f796xPH14687 for ; Thu, 9 Aug 2001 08:59:25 +0200 (MET DST) Received: from hars by quetelet.bik-gmbh.de with local (Exim 3.12 #1 (Debian)) id 15UjlQ-0001dT-00 for ; Thu, 09 Aug 2001 08:57:52 +0200 Date: Thu, 9 Aug 2001 08:57:52 +0200 From: Florian Hars To: caml-list@inria.fr Subject: Re: [Caml-list] calling native code from bytecode? Message-ID: <20010809085752.A6270@hars> References: <200108012345.QAA29668@smtp3-cm.mail.eni.net> <200108012345.QAA29668@smtp3-cm.mail.eni.net> <20010803140351.A3307@pauillac.inria.fr> <4.3.2.7.2.20010803065549.02761be0@shell16.ba.best.com> <20010808104615.A3590@pauillac.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010808104615.A3590@pauillac.inria.fr>; from Xavier.Leroy@inria.fr on Wed, Aug 08, 2001 at 10:46:15AM +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, Aug 08, 2001 at 10:46:15AM +0200, Xavier Leroy wrote: > My advice is: don't do it. If all you need is to have the > efficiency of native code and the debugging comfort of bytecode, just > compile all your sources twice, to native-code and to bytecode. Or debug by insterting print statements in the native code. This is what I did, once the first part of the code worked (which takes about 30 to 40 seconds if compiled natively). Waiting five minutes to debug every new function is no fun... Yours, Florian Hars. ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr