caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Bytecode and native code GC
@ 2007-06-24 17:08 Jon Harrop
  0 siblings, 0 replies; only message in thread
From: Jon Harrop @ 2007-06-24 17:08 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-24 17:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-24 17:08 Bytecode and native code GC Jon Harrop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).