1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] More module ideas -->
<!--X-From-R13: [nex Uevggre <znexNreqbf.Egnasbeq.SRG> -->
<!--X-Date: Fri, 13 Nov 1998 19:46:40 &#45;0800 -->
<!--X-Message-Id: 199811140341.TAA01134#erdos,Stanford.EDU -->
<!--X-Content-Type: text -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] More module ideas</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:mark#erdos,Stanford.EDU">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00840.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00842.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00843.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00839.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00841">Author</A>
&nbsp;|&nbsp;<A HREF="#00841">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00841">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] More module ideas</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] More module ideas</LI>
<LI><em>From</em>: Mark Gritter &lt;<A HREF="mailto:mark#erdos,Stanford.EDU">mark#erdos,Stanford.EDU</A>&gt;</LI>
<LI><em>Date</em>: Fri, 13 Nov 1998 19:41:47 -0800 (PST)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
I've been trying to think of some more examples of modules (particularly 
those I'd find interesting to write, of course.)

Memory management:
    A module which performs dynamic allocation; client modules
  may perform their own allocation from "chunks" granted by the memory
  manager, or depend on it for all requests.
      -- Enforce per-module or per-process memory limits if desired.
      -- Memory leak detection via a "debugging" version of the module.
      -- Usage statistics
    A simple version of this would just use malloc/free.  I don't think
  its feasible to require all modules to use the memory manager (particularly
  if existing code gets converted into a DevMUD module), this might be
  a good goal.
    The memory management module could also be the location of signal handlers
  (is there something corresponding in Windows?) for memory faults.

Remote Procedure Call:
    The RPC module would make use of the socket module.  Its responsiblity
  would be to provide argument marshalling and demarshalling.  Stub functions
  might still be needed in the client modules, but I'm picturing something
  like this (possibly machine-generated.)

void my_rpc_call(HostID host, int arg1, int arg2, char *arg3) {
  rpc_send(host, "my_rpc_call", "(i:hostID,i,i,*b:string)v",
	   &amp;host);  /* Hmmm... not portable, I think.  Gonna have to
                       support varargs, or require some packaging here. */
}

    The module would take care of sequence numbers, timeouts, etc.  There's
  obviously a lost more to be designed, obviously, and I'm certainly not
  suggesting we implement RPC right away.

Mark Gritter
mark#erdos,stanford.edu


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00840.html">[MUD-Dev] Re: MUD clients, testing</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00842.html">[MUD-Dev] Re: A Small Conceptual Object System For MUDs</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00843.html">[MUD-Dev] The Innerworld Project</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00839.html">[MUD-Dev] Re: MUD clients, testing</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00841"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00841"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><strong><A NAME="00847" HREF="msg00847.html">[MUD-Dev] Game library notes</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 19 Nov 1998, 21:35 GMT
<LI><strong><A NAME="00846" HREF="msg00846.html">[MUD-Dev] Mage 2 Mage 0.89</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Thu 19 Nov 1998, 06:07 GMT
<LI><strong><A NAME="00845" HREF="msg00845.html">[MUD-Dev] META: FAQ's bios.</A></strong>, 
Ling <a href="mailto:K.L.Lo-94#student,lboro.ac.uk">K.L.Lo-94#student,lboro.ac.uk</a>, Tue 17 Nov 1998, 18:12 GMT
<LI><strong><A NAME="00843" HREF="msg00843.html">[MUD-Dev] The Innerworld Project</A></strong>, 
Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Mon 16 Nov 1998, 06:25 GMT
<LI><strong><A NAME="00841" HREF="msg00841.html">[MUD-Dev] More module ideas</A></strong>, 
Mark Gritter <a href="mailto:mark#erdos,Stanford.EDU">mark#erdos,Stanford.EDU</a>, Sat 14 Nov 1998, 03:46 GMT
<LI><strong><A NAME="00839" HREF="msg00839.html">[MUD-Dev] Re: MUD clients, testing</A></strong>, 
Scatter <a href="mailto:scatter#thevortex,com">scatter#thevortex,com</a>, Fri 13 Nov 1998, 09:54 GMT
<UL>
<LI><strong><A NAME="00840" HREF="msg00840.html">[MUD-Dev] Re: MUD clients, testing</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Fri 13 Nov 1998, 17:05 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00834" HREF="msg00834.html">[MUD-Dev] JOB: Project manager and scaling/networking guru needed for game project</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 12 Nov 1998, 18:35 GMT
<LI><strong><A NAME="00832" HREF="msg00832.html">[MUD-Dev] MUD clients, testing</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 12 Nov 1998, 17:00 GMT
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>