Browse thread
Bytecode and native code GC
- Jon Harrop
[
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: | -- (:) |
| From: | Jon Harrop <jon@f...> |
| Subject: | Bytecode and native code GC |
From Alain Frisch's website: > It is not possible to load native code from a bytecode program. It is not > possible to load bytecode modules from a native program. Repeat after me: a > program produced by ocamlc/ocamlc.opt can only load .cmo/.cma files and a > program produced by ocamlopt/ocamlopt.opt can only load .cmxs file. Thanks > for your attention. If you really want to load bytecode from a native > program, you can try Fabrice Le Fessant's Asmdynlink. Why is this? I recall someone saying that the run-times are slightly different for native and bytecodes but how exactly do they differ any why? -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. The OCaml Journal http://www.ffconsultancy.com/products/ocaml_journal/?e