Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ANNOUNCE: OCaml CSV (comma-separated values) mini-library 1.0.3
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-05-24 (17:33)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] JIT ?
On Tuesday 24 May 2005 18:13, Christopher Alexander Stein wrote:
> Can the ocamlrun bytecode interpreter do just-in-time compilation
> or is ocamlopt the way to go for performance instead of ocamlc?

ocamlopt is the way to go for performance.

ocaml JIT compiles to bytecode which is then interpreted. ocamlc compiled to 
bytecode which is interpreted. ocamlopt compiles straight to native code and 
typically produces programs which are several times faster.

Basile Starynkevitch wrote a real JIT compiler for OCaml (compiling to native 
code on-the-fly) called ocamljit:

Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists