Thread overview
rmi library
Oct 30, 2005
Manfred Hansen
Oct 30, 2005
kris
Oct 30, 2005
Manfred Hansen
October 30, 2005
Hello,

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

mfg Manfred
October 30, 2005
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.
October 30, 2005
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.