Mango has facilities for doing this though, without dynamic linking, the
relevant classes need to be pre-linked. That's currently a limitation of
the D runtime. However, Pragma is working on a dynamic loader that will
fill that gap, which Mango will certainly take advantage of when it
becomes available (soon, I think). At that point you'll be able to
easily send, dynamically link, and execute Objects within a peer-to-peer
network.
Take a look at the Mango example called pickle.d for a simplistic
illustration of class serialization. The mango.cluster package is
related, and can be used to send serialized objects around a network as
messages and/or tasks. As I indicated, those classes currently need to
be statically linked at each of the peer nodes.

Mango has facilities for doing this though, without dynamic linking, the
relevant classes need to be pre-linked. That's currently a limitation of
the D runtime. However, Pragma is working on a dynamic loader that will
fill that gap, which Mango will certainly take advantage of when it
becomes available (soon, I think). At that point you'll be able to
easily send, dynamically link, and execute Objects within a peer-to-peer
network.
Take a look at the Mango example called pickle.d for a simplistic
illustration of class serialization. The mango.cluster package is
related, and can be used to send serialized objects around a network as
messages and/or tasks. As I indicated, those classes currently need to
be statically linked at each of the peer nodes.