[unios] Re: IPC in the current OO model

Anders Petersson anders.petersson@mbox320.swipnet.se
Sat, 26 Dec 1998 20:51:47 +0100


From: Anders Petersson <anders.petersson@mbox320.swipnet.se>

>From: Tril <dem@tunes.org>
>
>On Mon, 21 Dec 1998, OJ Hickman wrote:
>
>> As I understand the current OO model each object has a set
>> of methods that are accessed over the IPC channels. Correct?
>> 
>> I can only come up with two ways of doing this:
>> 
>> 1: Interpret method tokens.
>> 
>> 2: Setup a communication channel for each and every method.
>> This would involve a system with thousands of open
>> communication channels. The overhead would be monstrous!
>> 
>> If someone can come up with another solution, do tell!
>
>There is a third solution, that is used by the TUNES project: 
>Metaprogramming.  To perform an action, the objects are first strongly
>type-checked, then linked directly together.  Since they have already been
>typechecked, they can be treated as one composite object.  The
>specification (we prefer that term to 'code' because a specification is
>not in ASCII format, but made of objects) for the two together can be
>optimized.  We believe this solution is both fast AND safe.

I don't think I really understand what you mean...
How can objects be type-checked? Is that a compile-time operation?
How can you link objects together? You must have a different definition of
objects than we (or maybe just I). What *is* your definition of objects?

binEng



------------------------------------------------------------------------
To unsubscribe from this mailing list, or to change your subscription
to digest, go to the ONElist web site, at http://www.onelist.com and
select the User Center link from the menu bar on the left.
------------------------------------------------------------------------
UniOS Group
http://members.xoom.com/unios