English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

Browse thread
about OcamIL
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-05-11 (23:47)
From: ben kuin <benkuin@g...>
Subject: Re: [Caml-list] about OcamIL
> OCaml doesn't have a vm like the jvm.
ocamlc compiles to bytecode
ocamlrun interprets the bytecode
bytecode interpreter == vm
hence ocaml has a vm

On Tue, May 11, 2010 at 6:39 PM, Peng Zang <peng.zang@gmail.com> wrote:
> Hash: SHA1
> On Tuesday 11 May 2010 07:22:56 am ben kuin wrote:
>> I think this 3 point are REASONABLE but the combination of those 3
>> items is INEXISTENT.
>> Ocaml: the vm is not very fast (no jit AFAIK)
>> So I guess the best thing would be to use good ol Ocaml in native mode...?
> What do you mean by vm?  OCaml doesn't have a vm like the jvm.  Although
> there's been some great work on compiling OCaml for the jvm.  OCaml does have
> a toplevel interpreter.  It even has a native mode toplevel now that's
> suppose to be fast (anyone have any experience with this?).  So that's good.
> And of course as you pointed out you can always compile OCaml code to native
> machine code which has always had good performance.
> Peng
> Version: GnuPG v2.0.7 (GNU/Linux)
> SkKhph4GC7xGA85ilSspTw==
> =IxIG