1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] I wanna do it OO -->
<!--X-From-R13: Xnzrf Ivyfba <wjvyfbaNebpurfgre.ee.pbz> -->
<!--X-Date: Sat, 24 Oct 1998 20:14:45 &#45;0700 -->
<!--X-Message-Id: 9810242303400A.12608@d185d1e96 -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199810250227.UAA02370@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] I wanna do it OO</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="msg00473.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00475.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00471.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00476.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00474">Author</A>
&nbsp;|&nbsp;<A HREF="#00474">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00474">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] I wanna do it OO</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] I wanna do it OO</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, 24 Oct 1998 22:42:07 -0400</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, 24 Oct 1998, Chris Gray wrote:
&gt;[ApplePiMan:]
&gt;
&gt; &gt;&gt;(Small voice: I still want to do it O-O. Wanto! Wanto!!! :)
&gt; &gt;
&gt; &gt;Did I miss something? I didn't think any decision had been made on that 
&gt; &gt;yet...
&gt;
&gt;If it did go by, I missed it too! I've been muttering about deciding
&gt;what an appropriate object model for the MUD DB might be, but I sure
&gt;haven't said there shouldn't be one. I think I've also said that we
&gt;should think about whether the DB object model needs to be the same
&gt;as any object model that might be used in the implementation language.
&gt;I've also said I don't think much about the in-MUD language being a
&gt;subset of C++. Perhaps some of these were misconstrued?

I thought the best idea was to do it like MUQ, and have some sort
of internal representation which could be interpreted or compiled to 
native code (perhaps via C or C++), which would have to interoperate
transparently  with the interpreter... then (assuming the internal
representation and underlying semantics are flexible enough) one could 
write compilers for different mud languages, converting them into said
representation. I should think that the representation would be pretty
high-level for efficiency. (It worked for the VAX, right? Oh, wait...)

For those who like bytecode as an internal representation, I would like 
to note that using 'interpreted objects' rather than bytecode can be quite 
speedy. By this I mean that, for instance, a while loop can be represented
as 

struct while_exp : public expression
{
	virtual rep eval (vector&lt;rep&gt; &amp;stack)
	{
		while (_test-&gt;eval (stack))
		_action-&gt;eval (stack);
		return VOID_REP;
	}
....
private:
	expression *_test, *_action;
};

this sort of internal representation is also really easy to integrate
hand-written (or automagically-generated) C/C++ code with, as opposed to
bytecode which doesn't have such a straightforward binding.

James


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00471" HREF="msg00471.html">[MUD-Dev] Re: PDMud, Gamora and Casbah</A></STRONG>
<UL><LI><EM>From:</EM> Chris Gray &lt;cg#ami-cg,GraySage.Edmonton.AB.CA&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00473.html">[MUD-Dev] OpenMUD: bus-based communications</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00475.html">[MUD-Dev] Re: I wanna do it OO</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00471.html">[MUD-Dev] Re: PDMud, Gamora and Casbah</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00476.html">[MUD-Dev] Re: PDMud, Gamora and Casbah</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00474"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00474"><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="00475" HREF="msg00475.html">[MUD-Dev] Re: I wanna do it OO</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 25 Oct 1998, 03:53 GMT
<LI><strong><A NAME="00472" HREF="msg00472.html">[MUD-Dev] Re: DevMUD Event Language</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 25 Oct 1998, 02:37 GMT
<LI><strong><A NAME="00465" HREF="msg00465.html">[MUD-Dev] Re: PDMud, Gamora and Casbah</A></strong>, 
ApplePiMan <a href="mailto:ApplePiMan#aol,com">ApplePiMan#aol,com</a>, Sat 24 Oct 1998, 23:35 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00471" HREF="msg00471.html">[MUD-Dev] Re: PDMud, Gamora and Casbah</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 25 Oct 1998, 02:33 GMT
<UL>
<LI><strong><A NAME="00474" HREF="msg00474.html">[MUD-Dev] I wanna do it OO</A></strong>, 
James Wilson <a href="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</a>, Sun 25 Oct 1998, 03:14 GMT
</LI>
<LI><strong><A NAME="00476" HREF="msg00476.html">[MUD-Dev] Re: PDMud, Gamora and Casbah</A></strong>, 
Darrin Hyrup <a href="mailto:shades#mythicgames,com">shades#mythicgames,com</a>, Sun 25 Oct 1998, 03:55 GMT
</LI>
<LI><strong><A NAME="00480" HREF="msg00480.html">[MUD-Dev] Re: PDMud, Gamora and Casbah</A></strong>, 
Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Sun 25 Oct 1998, 08:51 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00436" HREF="msg00436.html">[MUD-Dev] PDMud, Gamora and Casbah</A></strong>, 
Bruce Mitchener, Jr. <a href="mailto:bruce#puremagic,com">bruce#puremagic,com</a>, Sat 24 Oct 1998, 00:45 GMT
<UL>
<LI><strong><A NAME="00440" HREF="msg00440.html">[MUD-Dev] Re: PDMud, Gamora and Casbah</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Sat 24 Oct 1998, 01:15 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>