1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: Why modules? (Was: Inheritable modules) -->
<!--X-From-R13: Xnzrf Ivyfba <wjvyfbaNebpurfgre.ee.pbz> -->
<!--X-Date: Sat, 31 Oct 1998 20:25:44 &#45;0800 -->
<!--X-Message-Id: 98103123095100.27405@d185d1e96 -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 19981101140717.B12834#donut,dhis.org -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: Why modules? (Was: Inheritable modules)</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jwilson#rochester,rr.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="msg00657.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00659.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00655.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00672.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00658">Author</A>
&nbsp;|&nbsp;<A HREF="#00658">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00658">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: Why modules? (Was: 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: Why modules? (Was: Inheritable modules)</LI>
<LI><em>From</em>: James Wilson &lt;<A HREF="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</A>&gt;</LI>
<LI><em>Date</em>: Sat, 31 Oct 1998 22:45:46 -0500</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 Sat, 31 Oct 1998, Thandor wrote:
&gt;I've heard several posts saying "I think the core should be done in C" or
&gt;words to that effect. Not just it should use C calling conventions, but
&gt;that it should be done in C. Deciding on C calling conventions now doesn't
&gt;really bother me because I stuggle to see the list come up with a better
&gt;alternative. However, as for the actual language of implementation - I
&gt;certainly don't know enough about how the system is intended to work to be
&gt;able to say at this stage that C is the best language for the job.

You're right, they're a bit different. C bindings could be the glue, but 
the core itself could be in C++ (or in Perl, for that matter). 

&gt;I'm not convinced that giving people enough rope to hang themselves (ie
&gt;allowing them to write modules in any language) is the greatest idea
&gt;anyway. I thought the idea is you only had to do the very low level stuff
&gt;in native code, the rest could be handled by some sort of game code? In
&gt;which case, keeping things simple by deciding on a single language to use
&gt;for the implementation of the native code section might not be such a big
&gt;tradeoff. I certainly find things easier to understand when everything is
&gt;writen in the same language, rather than every other module choosing the
&gt;author's pet language.

yeah, but the language I want to use isn't the language you want to use isn't
the language Chris wants to use. Imposing a single language on all DevMud
modules would miss the point.

&gt;So, does anyone mind telling me what exactly are we really hoping to gain
&gt;from allowing any language at all to be used? Confusion is what I see being
&gt;gained. Then again, I just can't get my mind around the idea of the
&gt;infinitely flexible design that people seem to want. Maybe someone needs to
&gt;spell it out in simple english how that allows me to make a better mud so I
&gt;can understand it.

first off let me say that I think true language agnosticism is a pipe
dream. What IS realistic, however, is a straightforward and simple mechanism
for module abstractions, such that integrating said modules with other systems
is made easier. Not necessarily trivial, and not necessarily always
possible, but as straightforward as we can make it. One of the hopes is that the
module interface will also be easy to glue together with languages of peoples'
choice, so if I run a Python-based mud I can still glom in a DevMud module with
a minimum of fuss.

Writing modules in various languages does raise a lot of issues which I don't
have an answer for. Can we really integrate a module written in Python with a
module written in COBOL by having the kernel link up various extern "C"
function pointers? Maybe. There may be some heavy lifting that has to be done
for each language that is to interoperate; that is, perhaps C and C++ are the
easiest to make interoperate, so we start with modules written in those. Then
we look at Python interoperation, figure out how to make Python's memory
management work with DevMud's, and distribute the proper magic to do so.
Someone else looks at Perl, and James takes COBOL. I'm not sure this is
feasible. We'd need to look at a lot of specific issues in great detail and
design the kernel/modules appropriately.


James


</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="00672" HREF="msg00672.html">[MUD-Dev] Re: Why modules? (Was: Inheritable modules)</A></strong>
<ul compact><li><em>From:</em> "Adam J. Thornton" &lt;adam#phoenix,Princeton.EDU&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00655" HREF="msg00655.html">[MUD-Dev] Re: Why modules? (Was: Inheritable modules)</A></STRONG>
<UL><LI><EM>From:</EM> Thandor &lt;thandor#donut,dhis.org&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00657.html">[MUD-Dev] Re: DevMUD:  Inheritable modules</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00659.html">[MUD-Dev] Reminiscing</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00655.html">[MUD-Dev] Re: Why modules? (Was: Inheritable modules)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00672.html">[MUD-Dev] Re: Why modules? (Was: Inheritable modules)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00658"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00658"><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="00675" HREF="msg00675.html">[MUD-Dev] ScryMUD [CUSTOM] Code release.</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sun 01 Nov 1998, 18:19 GMT
<LI><strong><A NAME="00659" HREF="msg00659.html">[MUD-Dev] Reminiscing</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sun 01 Nov 1998, 04:28 GMT
<LI><strong><A NAME="00640" HREF="msg00640.html">[MUD-Dev] Re: Why modules? (Was: Inheritable modules)</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 31 Oct 1998, 21:23 GMT
<UL>
<LI><strong><A NAME="00655" HREF="msg00655.html">[MUD-Dev] Re: Why modules? (Was: Inheritable modules)</A></strong>, 
Thandor <a href="mailto:thandor#donut,dhis.org">thandor#donut,dhis.org</a>, Sun 01 Nov 1998, 03:13 GMT
<UL>
<LI><strong><A NAME="00658" HREF="msg00658.html">[MUD-Dev] Re: Why modules? (Was: Inheritable modules)</A></strong>, 
James Wilson <a href="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</a>, Sun 01 Nov 1998, 04:25 GMT
<UL>
<LI><strong><A NAME="00672" HREF="msg00672.html">[MUD-Dev] Re: Why modules? (Was: Inheritable modules)</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Sun 01 Nov 1998, 16:17 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00642" HREF="msg00642.html">[MUD-Dev] Re: Why modules? (Was: Inheritable modules)</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 31 Oct 1998, 21:23 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00635" HREF="msg00635.html">[MUD-Dev] DevMUD:  Module message passing</A></strong>, 
The Arrow <a href="mailto:arrow#trelleborg,mail.telia.com">arrow#trelleborg,mail.telia.com</a>, Sat 31 Oct 1998, 21:06 GMT
<UL>
<LI><strong><A NAME="00649" HREF="msg00649.html">[MUD-Dev] Re: DevMUD:  Module message passing</A></strong>, 
Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Sat 31 Oct 1998, 23:17 GMT
</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>