Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] calling native code from bytecode?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Florian Hars <florian@h...>
Subject: Re: [Caml-list] calling native code from bytecode?
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