Browse thread
about OcamIL
-
ben kuin
- Alain Frisch
-
Eray Ozkural
-
Ed Keith
- Eray Ozkural
- Vincent Aravantinos
- ben kuin
- Dmitry Bely
- ben kuin
-
Ed Keith
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2010-05-12 (01:57) |
From: | Peng Zang <peng.zang@g...> |
Subject: | Re: [Caml-list] about OcamIL |
-----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.zang@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-----