[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

8587: [MUD-Dev] Re: PDMud (was Re: Bruce Sterling on Virtual Community goals)

[Full Header] [Plain Text]
From: Chris Gray <cg@ami-cg.GraySage.Edmonton.AB.CA>
Newsgroups: nu.kanga.list.mud-dev
Date: Fri, 23 Oct 1998 18:42:13 -0600
Organization: Kanga.Nu
[Niklas Elmqvist:]

 >Having message pipes instead of direct function pointers makes the system
 >more decoupled (actually, you could view the pipe as a O-O function
 >pointer abstraction, at least in some sense). Instead of things
 >potentially breaking when using function pointers which have been
 >invalidated due to unloaded modules (OK, this should not happen in a good
 >design), the pipe could intercept and prevent this -- the message just
 >would not reach its destination. In addition, pipes would allow a module
 >to broadcast certain messages to several receivers

I don't see any significant differences other than that the function
call method is more efficient (no data copying). Having simple wrappers
around the calls can do whatever any actual pipe mechanism could do.

--
Chris Gray     cg@ami-cg.GraySage.Edmonton.AB.CA