www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - rmi library

reply Manfred Hansen <manfred toppoint.de> writes:
Hello,

give it in D a library like rmi (Remote Method Invocation) from java ?

mfg Manfred 
Oct 30 2005
parent reply kris <fu bar.org> writes:
Manfred Hansen wrote:
 Hello,
 
 give it in D a library like rmi (Remote Method Invocation) from java ?
 
 mfg Manfred 
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.
Oct 30 2005
parent Manfred Hansen <manfred toppoint.de> writes:
That sound good, i will look at Mango.

Thank you.

mfg Manfred

kris wrote:

 Manfred Hansen wrote:
 Hello,
 
 give it in D a library like rmi (Remote Method Invocation) from java ?
 
 mfg Manfred
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.
Oct 30 2005