Dear Nikhil,

Currently this is not available.  It is definitely not impossible, but not
easy at all.

There are a few reasons.  For instance, we don't use OS native threads in
the Mozart implementation, instead we have our own thread implementation and
thread scheduler.  You would probably need a new thread library (POSIX
threads is not an option, since its threads are too heavyweight).  Another
reason is that not all the bytecode of an application is known at compile
time.  Modules (and their code) is loaded dynamically, and code may be
shipped between processes by distribution.  Therefore you would need a JIT
compiler that translates Oz bytecode into native code.

Cheers,
raph

On Sun, Jun 28, 2009 at 5:49 PM, Nikhil Barthwal
<[email protected]>wrote:

>  Hi,
>
>
>
> Is there a way to compile Mozart Oz code to native binary code?
>
>
>
> Thanks,
>
>
>
> Nikhil
>
>
>
>
> _________________________________________________________________________________
> mozart-users mailing list
> [email protected]
> http://www.mozart-oz.org/mailman/listinfo/mozart-users
>
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to