|Anonymous | Login | Signup for a new account||2014-07-24 14:21 CEST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001983||OCaml||OCaml general||public||2003-12-17 07:32||2012-01-27 11:52|
|Target Version||Fixed in Version||3.11.0|
|Summary||0001983: RFE: ability to compile a native code OCaml library into an .so (w/o strict version checking)|
|Description||Full_Name: Aleksey Nogin|
OS: Red Hat Linux
Submission from: charter-242-037.caltech.edu (18.104.22.168)
It would be really nice if it was possible:
a) to compile a native code OCaml library into an dynamic library (.so)
b) then link an OCaml program against an OCaml .so,
c) dynamically load and OCaml .so from an OCaml program. Ideally, the interface
for doing it would be shared between the bytecode (for dynloading of .cmo) and
native code (for dynloading of .so/.cmxa)
I know that there are a lot of issues if one insists on some smart version
compatibility checking. This RFE is _not_ about that - I would be happy if the
generated libraries were strongly tied to the environment in which they were
compiled and any slight change would require a recompile.
Basically, our project (http://metaprl.org/ [^]) will benefit significantly if it
was possible to load modules at runtime - both in bytecode (similarly to the way
camlp4 does it) and native code.
P.S. http://www.boblycat.org/~malc/scaml/ [^] implements something like this.
|Tags||No tags attached.|
Dynamic loading of natively-compiled OCaml code was implemented in version 3.11.0.
|2005-11-18 10:13||administrator||New Issue|
|2012-01-27 11:52||xleroy||Note Added: 0006821|
|2012-01-27 11:52||xleroy||Status||acknowledged => closed|
|2012-01-27 11:52||xleroy||Resolution||open => fixed|
|2012-01-27 11:52||xleroy||Fixed in Version||=> 3.11.0|
|2012-01-27 11:52||xleroy||Description Updated||View Revisions|
|Copyright © 2000 - 2011 MantisBT Group|