1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: DevMUD:  Inheritable modules -->
<!--X-From-R13: Xba Zrbaneq <wyrbaneqNqvipbz.fyvzl.pbz> -->
<!--X-Date: Thu, 29 Oct 1998 16:48:19 &#45;0800 -->
<!--X-Message-Id: 19981029164016.B15596#divcom,slimy.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 19981028153702.A8875#divcom,slimy.com -->
<!--X-Reference: Pine.LNX.3.96.981029183651.353A&#45;100000@localhost -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: DevMUD:  Inheritable modules</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jleonard#divcom,slimy.com">
</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="msg00582.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00584.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00579.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00584.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00583">Author</A>
&nbsp;|&nbsp;<A HREF="#00583">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00583">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: DevMUD:  Inheritable modules</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: DevMUD:  Inheritable modules</LI>
<LI><em>From</em>: Jon Leonard &lt;<A HREF="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</A>&gt;</LI>
<LI><em>Date</em>: Thu, 29 Oct 1998 16:40:16 -0800</LI>
<LI><em>Cc</em>: Jon Leonard &lt;<A HREF="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</A>&gt;</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 Thu, Oct 29, 1998 at 06:53:29PM +0100, The Arrow wrote:
&gt; On Wed, 28 Oct 1998, Jon Leonard wrote:
&gt; &gt; On Wed, Oct 28, 1998 at 07:20:20PM +0100, The Arrow wrote:

[modules, DevMUD, OO techniques]

&gt; &gt; Interface inheritance:  Useful for making modules interchangable.  Specify
&gt; &gt; 	the interface you want, and any modules that match it (or are a
&gt; &gt; 	superset) will work.  I like this, and plan to use it for a telnet
&gt; &gt; 	module working as a superset of a socket module.
&gt; 
&gt; It was something like this I thought of when I wrote the mail.
&gt; The problem with interface inheritance, is how to export the interface.
&gt; If the modules is written in C++ and we are using external inheritance
&gt; (as described by Nicklas) the subclassing should be pretty simple.  But how
&gt; should the driver know what interface (and module) to use runtime?

My current thoughts on this:

I don't want to use C++, because it doesn't have the object model I want.

An interface should have a name, and an array of function structures
like those exported by modules, except without the function pointers.

We should have a source verifier that checks that the claimed interface
(name-mangled version of the function, or whatever) matches the prototype
of the function pointer.

There should be a separate collection of defined interfaces, so a module
can just say "I implement interface X" (this can be verified, of course)

This database of interfaces shouldn't be monolithic -- I don't want to have
to know about all interfaces that someone else might define.

Explicit interfaces shouldn't be needed to make runnable MUDs, just
helpful in configuring them.

Jon Leonard


</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="00681" HREF="msg00681.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>
<ul compact><li><em>From:</em> Jo Dillon &lt;emily#thelonious,new.ox.ac.uk&gt;</li></ul>
<li><strong><A NAME="00592" HREF="msg00592.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>
<ul compact><li><em>From:</em> Niklas Elmqvist &lt;d97elm#dtek,chalmers.se&gt;</li></ul>
<li><strong><A NAME="00584" HREF="msg00584.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>
<ul compact><li><em>From:</em> James Wilson &lt;jwilson#rochester,rr.com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00573" HREF="msg00573.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></STRONG>
<UL><LI><EM>From:</EM> Jon Leonard &lt;jleonard#divcom,slimy.com&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00579" HREF="msg00579.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></STRONG>
<UL><LI><EM>From:</EM> The Arrow &lt;arrow#trelleborg,mail.telia.com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00582.html">[MUD-Dev] Re: Recursive look</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00584.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00579.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00584.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00583"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00583"><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: DevMUD:  Inheritable modules</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00703" HREF="msg00703.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>, 
James Wilson <a href="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</a>, Tue 03 Nov 1998, 04:59 GMT
</LI>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00570" HREF="msg00570.html">[MUD-Dev] DevMUD:  Inheritable modules</A></strong>, 
The Arrow <a href="mailto:arrow#trelleborg,mail.telia.com">arrow#trelleborg,mail.telia.com</a>, Wed 28 Oct 1998, 18:23 GMT
<UL>
<LI><strong><A NAME="00573" HREF="msg00573.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Wed 28 Oct 1998, 23:46 GMT
<UL>
<LI><strong><A NAME="00579" HREF="msg00579.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>, 
The Arrow <a href="mailto:arrow#trelleborg,mail.telia.com">arrow#trelleborg,mail.telia.com</a>, Thu 29 Oct 1998, 17:56 GMT
<UL>
<LI><strong><A NAME="00583" HREF="msg00583.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Fri 30 Oct 1998, 00:48 GMT
<UL>
<LI><strong><A NAME="00584" HREF="msg00584.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>, 
James Wilson <a href="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</a>, Fri 30 Oct 1998, 02:14 GMT
<UL>
<LI><strong><A NAME="00602" HREF="msg00602.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>, 
Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Fri 30 Oct 1998, 22:18 GMT
<UL>
<LI><strong><A NAME="00604" HREF="msg00604.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>, 
James Wilson <a href="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</a>, Fri 30 Oct 1998, 23:58 GMT
<UL>
<LI><strong><A NAME="00682" HREF="msg00682.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>, 
Jo Dillon <a href="mailto:emily#thelonious,new.ox.ac.uk">emily#thelonious,new.ox.ac.uk</a>, Mon 02 Nov 1998, 10:17 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</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>