-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ah, I guess I think of ocamlrun as just an interpreter.  But you're right, 
that's also a vm.

Peng

On Tuesday 11 May 2010 07:47:25 pm ben kuin wrote:
> > 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.z...@gmail.com> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > 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
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.7 (GNU/Linux)
> >
> > iD4DBQFL6YhCfIRcEFL/JewRAuB7AJ9tDRHgDJGt3+VqmX4u/IxU+vRXyQCWL3NX
> > SkKhph4GC7xGA85ilSspTw==
> > =IxIG
> > -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFL6gscfIRcEFL/JewRAgWBAJ93Hee3UhXDbLdX+bCuQs3Vwx72mQCaA/e4
G5U5E2pOf5NY3QvcciaenuU=
=W6jj
-----END PGP SIGNATURE-----

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to