2000Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Fw: 16K mud server competition ! -->
<!--X-From-R13: Xba Zrbaneq <wyrbaneqNfyvzl.pbz> -->
<!--X-Date: Tue, 04 Apr 2000 09:11:54 &#45;0700 -->
<!--X-Message-Id: 20000404005338.A2414#slimy,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 009b01bf9de4$eb62faa0$020101df@JonLambert -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Fw: 16K mud server competition !</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jleonard#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="msg00033.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00035.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00028.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00049.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00034">Author</A>
&nbsp;|&nbsp;<A HREF="#00034">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00034">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Fw: 16K mud server competition !</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>: Re: [MUD-Dev] Fw: 16K mud server competition !</LI>
<LI><em>From</em>: Jon Leonard &lt;<A HREF="mailto:jleonard#slimy,com">jleonard#slimy,com</A>&gt;</LI>
<LI><em>Date</em>: Tue, 4 Apr 2000 00:53:38 -0700</LI>
<LI><em>Cc</em>: Jon Leonard &lt;<A HREF="mailto:jleonard#frost,slimy.com">jleonard#frost,slimy.com</A>&gt;</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI>
<LI><em>User-Agent</em>: Mutt/1.0i</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Mon, Apr 03, 2000 at 11:21:40PM -0400, Jon A. Lambert wrote:
&gt; Chris Gray wrote:
&gt; &gt;
&gt; &gt;Wow, that's not much space! I took a quick look at ToyMUD, to see if there
&gt; &gt;was any chance of doing simple changes to shrink it down. However, it
&gt; &gt;is 80K of code and 26K in the data file. I doubt I could shrink it to
&gt; &gt;16K without losing some major feature or two. The first step would be
&gt; &gt;one of those code obfuscators that removes whitespace and makes all
&gt; &gt;identifiers one or two characters.
&gt; 
&gt; Well spaces, tabs and comments don't count towards the limit.
&gt; Yes, you could also get some mileage out of obfuscating keywords and 
&gt; system functions with macros.  You could move all your locals into global 
&gt; space, drop all static references, and share them very carefully. 
&gt; 
&gt; &gt;16K is enough for a decent MUD, I think, but the result isn't going to
&gt; &gt;be anything you'd want to show to your mother! I think a more reasonable
&gt; &gt;size count would be one of those program complexity measures, so that
&gt; &gt;you could at least read the resulting source code.
&gt; 
&gt; 
&gt; IIRC, DevMud was around 50k.  It might be under the limit sans whitespace 
&gt; and comments.

I do happen to know how big it is:

wc of *.c and *.h files:
DevMUD Proto 5: 48468 bytes (last well-known release?)
DevMUD Proto 6: 75583 bytes (more recent)
DevMUD current dir: 86532 bytes (in transition)
<A  HREF="http://slimy.com/~jleonard/src/ipc.html:">http://slimy.com/~jleonard/src/ipc.html:</A> 11434 bytes (trivial, working MUD)

Only the last is anywhere near the 18K limit, and none of these are
interesting games.  For comparison, the Zork I data file is 92160 bytes,
though gzip can shrink it to 61128.

There's just not enough room there for a really interesting game, maybe if
you cheated by moving some functionality to clients, abused libraries in
some manner, or managed to 'find' just the right interpreter...

It's an interesting challenge, but I don't think the minimum-space coding
styles are really all that useful in MUDs...

Jon Leonard



_______________________________________________
MUD-Dev mailing list
MUD-Dev#kanga,nu
<A  HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>

</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="00049" HREF="msg00049.html">Re[2]: [MUD-Dev] Fw: 16K mud server competition !</A></strong>
<ul compact><li><em>From:</em> Travis Casey &lt;efindel#io,com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00028" HREF="msg00028.html">Re: [MUD-Dev] Fw: 16K mud server competition !</A></STRONG>
<UL><LI><EM>From:</EM> "Jon A. Lambert" &lt;jlsysinc#ix,netcom.com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00033.html">Re: [MUD-Dev] characters per account</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00035.html">RE: [MUD-Dev] Trouble Makers or Regular Citizens</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00028.html">Re: [MUD-Dev] Fw: 16K mud server competition !</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00049.html">Re[2]: [MUD-Dev] Fw: 16K mud server competition !</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00034"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00034"><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="00012" HREF="msg00012.html">[MUD-Dev] Fw: DESIGN: XML?</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 03 Apr 2000, 03:36 GMT
<LI><strong><A NAME="00011" HREF="msg00011.html">[MUD-Dev] Fw: 16K mud server competition !</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Mon 03 Apr 2000, 03:36 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00026" HREF="msg00026.html">Re: [MUD-Dev] Fw: 16K mud server competition !</A></strong>, 
cg <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Tue 04 Apr 2000, 02:26 GMT
</LI>
<LI><strong><A NAME="00028" HREF="msg00028.html">Re: [MUD-Dev] Fw: 16K mud server competition !</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Tue 04 Apr 2000, 05:29 GMT
<UL>
<LI><strong><A NAME="00034" HREF="msg00034.html">Re: [MUD-Dev] Fw: 16K mud server competition !</A></strong>, 
Jon Leonard <a href="mailto:jleonard#slimy,com">jleonard#slimy,com</a>, Tue 04 Apr 2000, 16:11 GMT
<UL>
<LI><strong><A NAME="00049" HREF="msg00049.html">Re[2]: [MUD-Dev] Fw: 16K mud server competition !</A></strong>, 
Travis Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Wed 05 Apr 2000, 00:42 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00047" HREF="msg00047.html">Re[2]: [MUD-Dev] Fw: 16K mud server competition !</A></strong>, 
Travis Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Wed 05 Apr 2000, 00:37 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00029" HREF="msg00029.html">Re: [MUD-Dev] Fw: 16K mud server competition !</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Tue 04 Apr 2000, 05:30 GMT
<UL>
<LI><strong><A NAME="00031" HREF="msg00031.html">Re: [MUD-Dev] Fw: 16K mud server competition !</A></strong>, 
Miroslav Silovic <a href="mailto:silovic#zesoi,fer.hr">silovic#zesoi,fer.hr</a>, Tue 04 Apr 2000, 16:11 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>