1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: My vision for DevMUD -->
<!--X-From-R13: @vxynf Syzdivfg <q97ryzNqgrx.punyzref.fr> -->
<!--X-Date: Tue, 3 Nov 1998 06:09:18 &#45;0800 -->
<!--X-Message-Id: Pine.SOL.3.96.981103142236.973B&#45;100000#licia,dtek.chalmers.se -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 19981103002057.B15909#divcom,slimy.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: My vision for DevMUD</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:d97elm#dtek,chalmers.se">
</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="msg00711.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00714.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00719.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00726.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00712">Author</A>
&nbsp;|&nbsp;<A HREF="#00712">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00712">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: My vision for DevMUD</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] Re: My vision for DevMUD</LI>
<LI><em>From</em>: Niklas Elmqvist &lt;<A HREF="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</A>&gt;</LI>
<LI><em>Date</em>: Tue, 3 Nov 1998 15:05:17 +0100 (MET)</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>
On Tue, 3 Nov 1998, Jon Leonard wrote:

&gt; I'm interested in building a MUD server which is well suited to development
&gt; of experimental MUD features.  Support for commercial use, optimized
&gt; implementations, etc. are secondary.

Experimental MUD features? Good enough, but would it fuddle things if we
added "next-generation MUD server"? At least as a secondary goal?

Another secondary goal (yes, we should remove the 'etc' and list these
explicitly) should probably be "educational instrument" or something along
those lines.

Also, we need to make a distinction between three different entitites: the
DevCore (the actual platform/driver/engine of the project), the module
sets which make up DevMUD as a fully-fledged MUD server, and the world DB
which forms the actual game. It might be useful to define these three and
discuss them briefly if only to prevent people from mixing them up and
have a difficult time "getting a grip" on the architecture of DevMUD.

&gt; 3) The code should be well documented, and where possible easy to understand.
&gt;    This is also for ease of making expirimental modifications.

*Very* important, IMHO. This ties in nicely with the "educational" goal.
We probably need a standard document format which can be easily converted
to HTML, PostScript, info, etc... I'm far from familiar with this area but
maybe a SGML DTD could be used? And how about source code documentation?

&gt; 4) There should be more than one example collection of modules, as not all
&gt;    expiriments would use the same starting point.

Agreed. This is also fertile ground for a "componentization framework"
discussed by the MS guy in the Halloween document -- a monolithic project
is *very* hard to develop in parallel, but if there is a way to divide it
into components (modules, in our case), parallel development is very much
feasible. Also, since we're all MUD developers, we could even say that we
almost have an "implicit componentization framework", just like
Linux-hackers building Linux in the image of UNIX (sort of, at least). 

However, before that, the MS guy notes that the component framework must
be established, meaning that key API:s and structures are defined. Hence,
we need to iron out these specifics for the DevCore *before* anyone starts
doing serious modules development.

&gt; Implementation Language:  C for maximum portability and flexability.  To the
&gt; 	extent that modules in other languages can intermix with C modules,
&gt; 	other languages should be usable.

I tend to agree with you here, despite my earlier differences. At least I
am convinced that the glue between modules should be C bindings. Doing the
whole core in C sounds at least *reasonable* to me, not only for
portability (I don't agree with flexibility, though), but also for
simplicity. Object-orientation and C++ tend to add a secondary threshold
for newbie programmers.

&gt; Threading:  The minimal inplementation should not be threaded.  Not all
&gt; 	target platforms support threading, and requring thread support
&gt; 	from all modules makes the system significantly harder to
&gt; 	understand.  If a particular collection of modules is thread-safe,
&gt; 	they should be usable as a threaded server.  Note that a threaded
&gt; 	virtual machine model does not require a threaded server.

I have very little expertise in this area, and will thus leave it in the
capable hands of other members of the project. We *do* need thread-support
in DevMUD as a whole, but this might possibly not be applicable to the
DevCore.

&gt; Module interfaces:  Modules should export a predictably named array of
&gt; 	function information structures, and a separate verifier program
&gt; 	should be available to check the accuracy of type information.
&gt; 	Modules should be dynamicly loadable (on platforms with support)
&gt; 	for maximum flexability.  There should be a method for describing
&gt; 	interfaces for interface inheritance.

Very good. These C bindings can of course be used to negotiate
higher-level message protocols. I'm still a bit confused about how to
allow for the addition of new interfaces, but this could possibly be
resolved by using some kind of OO-like inheritance mechanism. No
interfaces would be hard-coded into the core, though, except maybe for a
few householding functions for checking version numbers, module names and
documentation strings. 

&gt; General DevMUD structure:
&gt; 
&gt; There should be a generic bootstrap loader, whose responsibility is to
&gt; provide module loading facilties and little else.  It is responsible
&gt; for loading a more specialized config module, which has responsibility
&gt; for loading and configuring the rest of the modules in the system.  A
&gt; typical config module will probably qickly delegate control to a script
&gt; in an in-mud language.

Hmm, I think we are needlessly limiting ourselves by saying this! Let's be
a little more generic and say that the bootstrap loader loads all modules
listed in a config file -- this could of course only be your config
module. All up to the module developers and/or MUD administrators.

I have another important point here that should be included in this
discussion as well: The DevCore plainly supplies all modules with a small
API (used by simply #include:ing a header file) for the following
functions: 
	- module management (loading and unloading modules)
	- inter-module communication (getting a function pointer of the
		desired interface to another module)

It is imperative that we include this, IMHO. 

&gt; I have more thoughts, of course, but that's generally where I'm coming from.
&gt; I'm volunteering to be project maintainer for such a project (including
&gt; hosting on my server), including writing some usable collections of modules
&gt; if necessary to jumpstart the project.

Very good effort! And my vote's for Jon Leonard as the benevolent dictator
as well! 

Oh, I would like to officially add myself into the member list of the
DevMUD project while I am at it (not that we have a *real* member list or
anything...).

&gt; Jon Leonard

-- Niklas Elmqvist (d97elm#dtek,chalmers.se) ----------------------
  "The trouble with being a god is that you've got no one to 
   pray to."
		-- Terry Pratchett, Small Gods



</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00726" HREF="msg00726.html">[MUD-Dev] Re: My vision for DevMUD</A></strong>
<ul compact><li><em>From:</em> Jon Leonard &lt;jleonard#divcom,slimy.com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00708" HREF="msg00708.html">[MUD-Dev] My vision for DevMUD</A></STRONG>
<UL><LI><EM>From:</EM> Jon Leonard &lt;jleonard#divcom,slimy.com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00711.html">[MUD-Dev] Re: My vision for DevMUD</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00714.html">[MUD-Dev] Re: Fallacy Watch and DevMUD Vision (was Re: ... CoolComponentCore)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00719.html">[MUD-Dev] Re: My vision for DevMUD</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00726.html">[MUD-Dev] Re: My vision for DevMUD</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00712"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00712"><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>[MUD-Dev] Re: My vision for DevMUD</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00717" HREF="msg00717.html">[MUD-Dev] Re: My vision for DevMUD</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Tue 03 Nov 1998, 16:36 GMT
<UL>
<LI><strong><A NAME="00718" HREF="msg00718.html">[MUD-Dev] Re: My vision for DevMUD</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Tue 03 Nov 1998, 18:37 GMT
<UL>
<LI><strong><A NAME="00721" HREF="msg00721.html">[MUD-Dev] Re: My vision for DevMUD</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Tue 03 Nov 1998, 19:55 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00719" HREF="msg00719.html">[MUD-Dev] Re: My vision for DevMUD</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Tue 03 Nov 1998, 18:55 GMT
</LI>
</ul>
<LI><strong><A NAME="00712" HREF="msg00712.html">[MUD-Dev] Re: My vision for DevMUD</A></strong>, 
Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Tue 03 Nov 1998, 14:09 GMT
<UL>
<LI><strong><A NAME="00726" HREF="msg00726.html">[MUD-Dev] Re: My vision for DevMUD</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Tue 03 Nov 1998, 21:54 GMT
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00706" HREF="msg00706.html">[MUD-Dev] META: DevMUD, MUD-Dev, and (list) futures</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Tue 03 Nov 1998, 06:25 GMT
<UL>
<LI><strong><A NAME="00725" HREF="msg00725.html">[MUD-Dev] Re: META: DevMUD, MUD-Dev, and (list) futures</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Tue 03 Nov 1998, 21:32 GMT
<UL>
<LI><strong><A NAME="00727" HREF="msg00727.html">[MUD-Dev] Re: META: DevMUD, MUD-Dev, and (list) futures</A></strong>, 
James Wilson <a href="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</a>, Tue 03 Nov 1998, 22:06 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</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>