[Mono-devel-list] Embedding Mono in a Virtual World

Jim Purbrick jimpurbrick at yahoo.co.uk
Fri Mar 18 16:06:46 EST 2005

--- Willibald Krenn <Willibald.Krenn at gmx.at> wrote:
> > Is it possible to save and load mono stacks? 
> I don't think this will work. You'd have to
> guarantee that all code (JIT compiled methods) is 
> at the same place, the methods are actually 
> compiled, all VMTs are correctly initialized, ... 

Hmm. I was hoping that I'd be able to store the stack
in terms of CIL methods and offsets, then rebuild it
at the other end. Couldn't it be made to work in a
similar way to a debugger?

If code locations and and ensuring compilation are a
problem, could I compile ahead of time and ship the
binary around between servers?

> (What about all the objects on the heap?)

I was planing to compile each script as a single
object, so if I transfer the script object and it's
stack I will have everything the script needs at the
other end.



Send instant messages to your online friends http://uk.messenger.yahoo.com 

More information about the Mono-devel-list mailing list