| Thread overview | |||||
|---|---|---|---|---|---|
| 
 | 
| October 30, 2005rmi library | ||||
|---|---|---|---|---|
| 
 | ||||
| Hello, give it in D a library like rmi (Remote Method Invocation) from java ? mfg Manfred | ||||
| October 30, 2005Re: rmi library | ||||
|---|---|---|---|---|
| 
 | ||||
| Posted in reply to Manfred Hansen | 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, 2005Re: rmi library | ||||
|---|---|---|---|---|
| 
 | ||||
| Posted in reply to kris | 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.
 | |||
Copyright © 1999-2021 by the D Language Foundation
  Permalink
Permalink Reply
Reply