discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: distributed objects question


From: la le
Subject: Re: distributed objects question
Date: Sun, 24 Jul 2005 10:57:35 -0700 (PDT)

thanks.

--- Richard Frith-Macdonald <richard@brainstorm.co.uk>
wrote:

> On 2005-07-24 12:34:56 +0100 la le
> <ditopil@yahoo.com> wrote:
> 
> > hi, i was wondering how good the performence of
> the
> > distributed objects were,
> 
> Pretty good ... though if performance is important,
> you need to take care 
> haow you use DO (but thatr's tru of any code you
> write).
> 
> > specifically, I'm trying to
> > make a game, and was making the server parts for
> > keeping track of where every object is, what its
> > doing, etc.
> > 
> > that part will then allow multiple users to
> connect,
> > and it will broadcast changes to all the others,
> but
> > since it keeps all the info on objects in a
> > NSMutableSet, i was wondering if the users should
> > address the server using id_tags's (numbers of
> type
> > int), or just have them talk as if the server were
> in
> > the main program, and pass the object id's
> themselves
> > (the ones of type id).  so does gnustep's
> distributed
> > objects already do that (or something similar
> behind
> > my back) or will it be better just to deal with
> > id_tags on all objects?
> 
> Unless you send objects bycopy, they go as proxies
> (in effect 4 byte 
> tokens), so sending your own id_tags will be
> slightly less efficient than 
> what DO already does ... theough the decrease in
> efficiency would be 
> insignificant.
> 
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
>
http://lists.gnu.org/mailman/listinfo/discuss-gnustep
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]