Re: [Caml-list] native vs bytecode

2008-09-17 Thread Richard Jones
On Wed, Aug 06, 2008 at 07:24:06PM -0600, Matt Gushee wrote: > Alain Frisch wrote: > >>- is it possible to dynamically load native libraries into a native > >>program? > > > >This will be possible in the next release of OCaml (3.11). > > That's great news! Do you have a rough idea of when 3.11 is

Re: [Caml-list] native vs bytecode

2008-08-07 Thread Kuba Ober
On Thursday 07 August 2008, Kuba Ober wrote: > > With this strategy, OCaml programs at Red Hat are performing as well > > as C code, and about an order of magnitude faster & an order of > > magnitude lower memory usage than programs written in Python, which is > > the main language used around here

Re: [Caml-list] native vs bytecode

2008-08-07 Thread Kuba Ober
> With this strategy, OCaml programs at Red Hat are performing as well > as C code, and about an order of magnitude faster & an order of > magnitude lower memory usage than programs written in Python, which is > the main language used around here. What does RedHat use OCaml for? That's just to sat

Re: [Caml-list] native vs bytecode

2008-08-07 Thread Ulf Wiger (TN/EAB)
Peng Zang skrev: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you mean by "dynamically load"? You cannot mix native and bytecode generally speaking. I don't know of any speed comparisons of OCaml bytecode. You can always compile to native code, which is faster, so I don't understand

Re: [Caml-list] native vs bytecode

2008-08-06 Thread Matt Gushee
Alain Frisch wrote: - is it possible to dynamically load native libraries into a native program? This will be possible in the next release of OCaml (3.11). That's great news! Do you have a rough idea of when 3.11 is coming? -- Matt Gushee ___ Cam

Re: [Caml-list] native vs bytecode

2008-08-06 Thread Haoyang Wang
On Wed, Aug 6, 2008 at 12:58 PM, Ben Aurel <[EMAIL PROTECTED]> wrote: > - is it possible to dynamically load bytecode libraries into a native program? This could be done with the asmdynlink library by Fabrice Le Fessant. He reimplemented the bytecode interpreter in ocaml! (Does asmdynlink still wo

Re: [Caml-list] native vs bytecode

2008-08-06 Thread Mauricio Fernandez
On Wed, Aug 06, 2008 at 03:58:22PM -0400, Ben Aurel wrote: > hi > As I try to acquire more knowledge about Ocaml I made a bit of an > unpleseant discovery today. I always was fascinated by the execution > performance of Ocaml. But now I've learned, that this is only true for > native binaries and I

Re: [Caml-list] native vs bytecode

2008-08-06 Thread Richard Jones
On Wed, Aug 06, 2008 at 03:58:22PM -0400, Ben Aurel wrote: > As I try to acquire more knowledge about Ocaml Ben, your invitation to ocaml_beginners has now been approved so these sorts of questions should go to that list. There are many of the same people, and we provide lots of help very quickly

Re: [Caml-list] native vs bytecode

2008-08-06 Thread Peng Zang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you mean by "dynamically load"? You cannot mix native and bytecode generally speaking. I don't know of any speed comparisons of OCaml bytecode. You can always compile to native code, which is faster, so I don't understand why you would wan

Re: [Caml-list] native vs bytecode

2008-08-06 Thread Alain Frisch
Ben Aurel wrote: - is it possible to dynamically load bytecode libraries into a bytecode program? Yes: http://caml.inria.fr/pub/docs/manual-ocaml/manual041.html - is it possible to dynamically load native libraries into a native program? This will be possible in the next release of OCaml (3

[Caml-list] native vs bytecode

2008-08-06 Thread Ben Aurel
hi As I try to acquire more knowledge about Ocaml I made a bit of an unpleseant discovery today. I always was fascinated by the execution performance of Ocaml. But now I've learned, that this is only true for native binaries and I'm a little confused now: - is it possible to dynamically load nativ