[self-interest] Changing prototype chain as state machine

David Goehrig dave at nexttolast.com
Fri Sep 30 00:20:38 UTC 2011


The Plaid paper lays out the same concept with stricter typing. 

I hadn't seen Ego before. 

Thanks!

-=-=- dave at nexttolast.com -=-=-

On Sep 29, 2011, at 3:47 PM, "Welch, Ronald P (US SSA)" <Ronald.P.Welch at BAESYSTEMS.com> wrote:

> Dave,
> 
> 
> This reminds me of a derivation of Self called "Ego" that makes
> steps toward adding type checking to Self. If you haven't 
> already seen it, there is paper describing Ego here:
> 
> http://www.cs.cmu.edu/~aldrich/papers/
> 
> Ron
> ----------=-=-=-=-=-=-=-=-========oOo========-=-=-=-=-=-=-=-=----------
>                   mailto:Ronald.P.Welch at baesystems.com
> ----------=-=-=-=-=-=-=-=-===================-=-=-=-=-=-=-=-=----------
> 
> 
> 
> 
> On Sep 27, 2011, at 8:28 PM, David Goehrig wrote:
> 
>>  
>> In one of the Self papers it states that assignable parent slots can be useful. And then it is largely an ignored subject from then on. 
>> 
>> I've been ressurrecting this idea for a web framework which models core finite state machines by exploiting assignable parent slots to only expose methods sensible for that state. 
>> 
>> eg. A response object has no header:Value: after the headers have already been sent, and a closed socket has no read or write: or close methods, but does have an open:
>> 
>> When I'm building these objects there is some default behavior that needs surpressing, specifically firing up the debugger when an unknown message send is encountered. This is heavily inspired by Randy's ARK unknown methods fall through. 
>> 
>> Where this has become critical is building large scale distributed applications with transparent proxies forwarding messages. Which may hit an object multiple times due to resend logic. 
>> 
>> Do any of the wise ones on the list know of any applications using these approaches?
>> 
>> If not, why?
>> 
>> -=-=- dave at nexttolast.com -=-=-
>> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20110929/acf0f746/attachment.html>


More information about the Self-interest mailing list