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

Chris Gray cg at ami-cg.GraySage.Edmonton.AB.CA
Thu Oct 22 20:46:17 CEST 1998


[Niklas Elmqvist:]

 >Yes. Some modules would not even have to check for modules which can
 >service its request, it would just emit the request/message to a data
 >chain. A network I/O module could just emit messages containing input from
 >the clients (along with socket information for identification) and not
 >care which module handles them, if at all.

Hmm. This is starting to sound a lot like an inverse polling. Send
something out, everyone looks at it to see if they can handle it, and
some do, some don't. Then something has to try to put any output back
together again. Starting to sound inefficient, to me. Need more details!

 >Maybe this post is pointless in that I don't really object to (more like
 >wholeheartedly agree with) anything said in the original post, but this is
 >also what I would like to see. And by using a native code module model,
 >we'll hopefully be able to support any kind of world *efficiently*.

Efficient modules isn't enough to make the whole system efficient. You
also need efficient intermodule interaction. You don't want to be
spraying lots of random things all over. The modules should advertise
what they can handle, and the associations should be made once, at the
load time of the added module. Then data (commands, output, etc.) flows
in a directed manner. We want pipes, not a water sprinkler!

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




More information about the mud-dev-archive mailing list