[unios] Re: IPC in the current OO model

Tril dem@tunes.org
Thu, 24 Dec 1998 18:50:45 -0800 (PST)


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.

David Manifold <dem@tunes.org>
This message is placed in the public domain.


------------------------------------------------------------------------
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