Brian Candler wrote:

>On Sun, Aug 31, 2003 at 02:59:47AM +0900, Charles Hixson wrote:
>  
>
>> ...
>>
>>code for every instance, but I don't see the do-able inbetween position.
>>    
>>
>
>No, it doesn't imply that marshalled output can't be transferred between
>computers - that's exactly what DRb does.
>
>Both ends have to have the same class definition, so you just do
>    require 'foo.rb'
>at both sides to get the definition of class Foo. An instance of Foo can
>... as Foo is changed.
>  
>
But the problem is that this can't handle class definitions where the 
sender has modified the class away from the expectations of the 
receipient.  Since the code doesn't come along, the modifications aren't 
known.  I'm not sure what a good solution to this problem would be, and 
this *will* handle the more common case where both sides have the same 
meanings.  And it seem quite likely that added variables would be safely 
ignored (since method changes don't propagate).  But changed methods 
wouldn't propagate their changes...and sometimes this is the action that 
I would want.

OTOH, I must admit that so far I haven't even used dRuby at all.  Or any 
other way of distributing execution.  But I am thinking that before too 
many years have passed I'll be needing to use something rather along 
that line.