[plt-scheme] Compiling vs interpreting

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Jun 14 19:01:20 EDT 2007

At Thu, 14 Jun 2007 23:41:36 +0200 (CEST), hufflen at lifc.univ-fcomte.fr wrote:
>    More precisely, let A and B be two Scheme expressions, is there a way
> to evaluate A if we are interpreted mode (mzscheme) and to compile B if
> we are using mzc, the compiler ?

No, not easily. We've worked make these modes as consistent as

Also, that compilation to native code via mzc is rarely useful these
days. The built-in bytecode optimizer and the bytecode-to-native JIT
generally outperform mzc output. That said, you may well have some
reason to use mzc...

With more details on your specific needs, we may be able to offer
further or better advice.


Posted on the users mailing list.