Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] How ocaml loads code dynamically
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] How ocaml loads code dynamically

I'm trying to figure out how ocaml loads code at runtime. For example,
I can load the extlib code into the bytecode interpreter at runtime
without building a special toplevel or anything. I'm especially
curious how I could build and link [bytecode] programs that I could
later load into my native code application without staticly linking
the app code APIs into the bytecode program (I'm assuming using the
asmdynlink module to do this).