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

Chris Gray cg at ami-cg.GraySage.Edmonton.AB.CA
Fri Oct 23 18:42:13 New Zealand Daylight Time 1998


[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 at ami-cg.GraySage.Edmonton.AB.CA




More information about the MUD-Dev mailing list