Browse thread
[Caml-list] How ocaml loads code dynamically
- Jonathan Roewen
[
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: | Jonathan Roewen <jonathan.roewen@g...> |
| Subject: | [Caml-list] How ocaml loads code dynamically |
Hi, 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). Jonathan