English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2005-08-10 (05:22)
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).