[DGD] Re: Small note plus a draft FAQ

Adam David adam at veda.is
Thu Dec 25 00:53:45 CET 1997


> | Can I compile my LPC to C?
> | --------------------------
> | 
> | Yes, you can.  This must be done at the time the driver is compiled though,
> | one cannot do it on the fly.  Look in the src/lpc for more information
> | concerning this.  The 2.4.5 mudlib simulation contains a good example of
> | how to do this.
> 
>   "You can do it 'almost on the fly' though, using statedumps where  
>    you dump state with the bytecompiled version of an object in use, 
>    shutdown, and then boot back up with the precompiled version of that
>    same object."

I have a working model of a package to add kfuns and precompiled objects
as dynamically linked modules under unix. Unfortunately this is at the 95%
stage and so needing extra work before completion for a first release, and
I just don't have the time for it at the moment.

Theoretically I believe it possible in some cases for these modules to be
updated on the fly, but my first shot at the code does the linking at
program start time, necessitating a dump and restart. Anything more will
require more work at the design phase.

As soon as I can devote some time to this again, I mean to fix it up for
the latest stable version of DGD and release the modules package in its
present form as version 0.1.

It could probably be adapted also to other operating systems.

--
Adam David <adam at veda.is>



List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list