[cap-talk] __equalizer and such E operations
Bill Frantz
frantz at pwpconsult.com
Wed Feb 13 01:46:58 EST 2008
kpreid at mac.com (Kevin Reid) on Tuesday, February 12, 2008 wrote:
>On Feb 12, 2008, at 20:39, Jed Donnelley wrote:
>> I wonder if an example might help? On the surface, making objects
>> selfless appears to make more work to compare them when a pointer
>> compare would otherwise suffice. What's the offsetting gain?
>
>If the 'same' value has been computed multiple times (or passed over
>a network), then it cannot have the same creation identity;
>therefore, a structural comparison operation is useful. (Interning is
>not feasible because of promises.)
>
>...
>
>(This is not the best of arguments; ask MarkM if you want a better
>one. I like E's design but I don't know everything that went into it.
>To start with, there's probably some things to be said about
>distributed programming.)
Selfless data can be copied over the network, since copies are
indistinguishable. Non-selfless objects must be called remotely.
Copying can save network round trips.
Cheers - Bill
-------------------------------------------------------------------------
Bill Frantz | The first thing you need when | Periwinkle
(408)356-8506 | using a perimeter defense is a | 16345 Englewood Ave
www.pwpconsult.com | perimeter. | Los Gatos, CA 95032
More information about the cap-talk
mailing list