Re: dynamic loading of extensions
I'm afraid I mixed up afew things (I *said* I didn't know much about
this stuff...:). There's the problem of dynamically loading compiled
C code, and there's the problem of implementing the dump command
(dumping the current continuation in a format that can be read back in
via the use of the -image switch).
I'm afraid that I mixed up the two abit. It seems that the former is
done using dlopen. The latter is done in some other fashion.
The thing I was really interested in is having the dump/restore stuff
under Linux (because I'm getting really tired of waiting for all the
code to get read in).
As for locations to look for examples, Amancio points out that one
could look at the perl5 source code to get an idea of how to implement
the loading of compiled C code.
As for a location to look for an example of dumping & restoring
memory, I suppose people could look at how clisp does this under
Linux.
Dr. Harvey J. Stein
Berger Financial Research
hjstein_at_math.huji.ac.il
Received on Tue Dec 13 1994 - 12:40:16 CET
This archive was generated by hypermail 2.3.0
: Mon Jul 21 2014 - 19:38:59 CEST