[unios] Re: IPC in the current OO model

Pieter Dumon Pieter.Dumon@rug.ac.be
Mon, 4 Jan 1999 10:25:37 +0100 (MET)


From: Pieter Dumon <Pieter.Dumon@rug.ac.be>

> 
> From: Tril <dem@tunes.org>
> 
> > 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!

This is not the case. The interfaces to handle objects can be in the
"executable" object as shared libraries or something. (If you are used to
Winblows, DLLs). Lots of common OH's can be too. Other OH's are executed
by some central  database which connects object types to OHs.
Some OHs will indeed be seperate threads or processes, which requires IPC
to call.
 
> 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.

It would be safe if it would work.... But it won't. 

Pieter

----------------------------------------
 Pieter.Dumon@rug.ac.be               
                                      
 http://studwww.rug.ac.be/~pdumon     
 
 ICQ  : 12428974
---------------------------------------

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