1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: DevMUD:  Inheritable modules -->
<!--X-From-R13: Xba Zrbaneq <wyrbaneqNqvipbz.fyvzl.pbz> -->
<!--X-Date: Fri, 30 Oct 1998 09:20:15 &#45;0800 -->
<!--X-Message-Id: 19981030091312.A18496#divcom,slimy.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 19981029164016.B15596#divcom,slimy.com -->
<!--X-Reference: Pine.SOL.3.96.981030135634.12928C&#45;100000#licia,dtek.chalmers.se -->
<!--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="msg00595.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00597.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00592.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00605.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00596">Author</A>
&nbsp;|&nbsp;<A HREF="#00596">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00596">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>: Fri, 30 Oct 1998 09:13:12 -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 Fri, Oct 30, 1998 at 02:12:22PM +0100, Niklas Elmqvist wrote:
&gt;
&gt; [Jon Leonard:]
&gt; &gt; My current thoughts on this:
&gt; &gt;
&gt; &gt; I don't want to use C++, because it doesn't have the object model I want.
&gt; [snip]
&gt;
&gt; Not to be grumpy or anything, Jon, but... I thought that the DevMUD
&gt; project would involve members on the list. I really would like to make a
&gt; difference, I've tried to offer my view on things and I would appreciate
&gt; if vital design issues such as this are discussed throughly.  I, at least,
&gt; have tried to make a point about my design ideas being suggestions, not
&gt; "laying down the law".

Hey!  An "I want" from me doesn't decide anything any more than:
"(Small voice: I still want to do it O-O. Wanto! Wanto!!! :)" from you
decides stuff.

At this point, I consider only one thing decided:  There will be a
DevMUD project.  That means that I'll write one myself _if_ no one
else wants to do one.

And for the record, I'm in pretty close agreement with what you've posted
after we get past the abstraction level of how modules communicate.

Surely choice of implementation language (Any using C calls vs. C++)
and a detail on logical busses (optional vs. mandatory) isn't that big
of a deal?

&gt; C++ does not have the object model *you* want. Should there not be a
&gt; discussion about the feeling of other potential contributors on this list
&gt; (even non-contributor will probably have *very* useful things to say,
&gt; given the talents on this list)? Or at least more motivation than your
&gt; personal preferences.  If we can discuss it, I am sure we can come up with
&gt; a much better and more objective solution.

I thought we were having just such a discussion.

&gt; Now, in this case, I happen to agree with you (I did not earlier, but I've
&gt; been convinced by your arguments, not by you overruling my opinions).
&gt; However, the reason for me not wanting to use C++ in the DevMUD driver
&gt; (there is of course nothing to stop module writers from using C++ or
&gt; anything else in the modules) is not the object model -- it is that C
&gt; calls (function pointers) are much more portable than C++ objects when
&gt; used in other languages and between different compilers. *This* is the
&gt; kind of arguments I am looking for.

I don't think I should include everything I've previously posted when I
make a comment like that.  I was mostly referring to part of my post from
Oct 20th:

] I think some C++ charateristics are incompatable with what we want to do:
]
] 1) The C++ object model is unique to C++, and using C++ objects from another
]         language requires writing wrappers that use C bindings.  C++ naming
]         conventions aren't even consistent between compilers, and prevent
]         other languages calling objects directly.
]
]         If we're going to have C bindings for things, (necessary for
]         supporting in-game languages like Perl, Python, TCL, etc.) then
]         I don't see the point in building separate C++ interfaces.
]

Here's the specific line:

] 2) The C++ object model doesn't lend itself to mix and match components,
]         in that it can require a recompile to change between logically
]         equivalent interfaces ("fragile base class problem").  This
]         prevents dynamic loading of modules, at least in some combinations
]         that I want to use.
]
] If there are good workarounds for these kinds of problems (and the consensus
] is that people want to use C++), then I'll ignore my distaste for C++
] (I've been burned more than once by C++isms on large projects) and use it.
]
] I have no objections to modules being written in C++ (or some other language),
] but I prefer interfaces using C calling conventions.  (extern "C" in C++)

I also don't like code inheritance, as I mentioned in a more recent post.
That's just a preference, and shouldn't keep us from using C++ if we wind
up deciding by voting or something.

&gt; Of course, you may be speaking about your own prototype. In that case,
&gt; you're entirely in your own right to say these things.

My prototype is little more than a demonstration that you can use dlopen
to assemble modules in a MUD.  (Ok, people are talking using it too.)
If it gives me some special authority, I'd like to know why.

&gt; Anyway, I tried to outline my own thoughts about the basic architecture of
&gt; the DevMUD driver (which were discarded, I might add). Could other people
&gt; please offer their own thoughts about the driver architecture (thoughts
&gt; are enough, not complete designs) the way they see it so that we all can
&gt; reflect on them? We will probably get a much better architecture this way.

We certainly want to look at any thoughts any listmember has.
Non-listmembers too, but they're less likely to post.

At some point we have to discard some, but this is still that discussion
phase.

&gt; (Okay, this might be an invitation to design-by-committee, but if people
&gt; are to want to contribute to a project like this, they will want to feel
&gt; as if they've made a difference. And not just to doing the grunt-work of
&gt; coding the thing -- design and analysis, too.)

I expect that after discussing stuff for a while, some sort of team will
say, "Ok, this overall design sounds good, let's go and start coding."
(And prototypes don't count.)

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="00683" HREF="msg00683.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="00605" HREF="msg00605.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>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00583" HREF="msg00583.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="00592" HREF="msg00592.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></STRONG>
<UL><LI><EM>From:</EM> Niklas Elmqvist &lt;d97elm#dtek,chalmers.se&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00595.html">[MUD-Dev] Re: DevMUD Objectives?</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00597.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00592.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00605.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00596"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00596"><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>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<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
<UL>
<LI><strong><A NAME="00696" HREF="msg00696.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, 03:18 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</ul>
<LI><strong><A NAME="00592" HREF="msg00592.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>, 
Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Fri 30 Oct 1998, 13:15 GMT
<UL>
<LI><strong><A NAME="00596" HREF="msg00596.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, 17:20 GMT
<UL>
<LI><strong><A NAME="00605" HREF="msg00605.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>, 
Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Sat 31 Oct 1998, 00:05 GMT
</LI>
<LI><strong><A NAME="00683" HREF="msg00683.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:21 GMT
<UL>
<LI><strong><A NAME="00688" HREF="msg00688.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></strong>, 
Robert Brady <a href="mailto:rwb197#ecs,soton.ac.uk">rwb197#ecs,soton.ac.uk</a>, Mon 02 Nov 1998, 16:38 GMT
<UL>
<LI><strong><A NAME="00705" HREF="msg00705.html">[MUD-Dev] Re: DevMUD: Inheritable modules</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Tue 03 Nov 1998, 06:06 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</ul>
</ul>
</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>