1998Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: MUD Development Digest -->
<!--X-From-R13: Pra Uerrne <terrneNploreuvtujnl.arg> -->
<!--X-Date: Thu, 23 Apr 1998 22:51:43 &#45;0700 -->
<!--X-Message-Id: Pine.LNX.3.96.980423223926.626A&#45;100000#shamen,cyberhighway.net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199804240444.XAA00362#zoom,bga.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: MUD Development Digest</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:greear#cyberhighway,net">
</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="msg00586.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00544.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00515.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00544.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00533">Author</A>
&nbsp;|&nbsp;<A HREF="#00533">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00533">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: MUD Development Digest</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: MUD Development Digest</LI>
<LI><em>From</em>: Ben Greear &lt;<A HREF="mailto:greear#cyberhighway,net">greear#cyberhighway,net</A>&gt;</LI>
<LI><em>Date</em>: Thu, 23 Apr 1998 22:49:48 -0700 (MST)</LI>
<LI><em>Delivery-date</em>: Thu Apr 23 22:51:45 1998</LI>
<LI><em>Delivery-date</em>: Thu, 23 Apr 1998 22:51:45 -0700</LI>
<LI><em>Envelope-to</em>: claw#kanga,nu</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: "Petidomo List Agent,,,," &lt;<A HREF="mailto:petidomo#kanga,nu">petidomo#kanga,nu</A>&gt;</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, 23 Apr 1998, Dr. Cat wrote:

&gt; What I don't see is where writing code that simply doesn't HAVE any 
&gt; garbage to collect is harder than writing code that has some.  To me it's 
&gt; the other way around, I'd have to be using more of them new-fangled 
&gt; unnecessarily fancy data structures and dynamic reallocation techniques and 
&gt; stuff in order to be able to generate garbage that a garbage collector or 
&gt; heap compacter would need to go messing with.  I just allocate way more 
&gt; than I need of everything, right at startup, and then just keep on using 
&gt; it till shutdown without any fancy shuffling stuff around.  I don't see 
&gt; where there's "more hard work" involved in that than doing it some other 
&gt; way, it seems pretty straightforward to me.  :X)

In java, it is amost necessary to allocate and deallocate
small wrapper classes.  I don't think it's worth the overhead to try to
keep free lists of these objects.  It also makes for much cleaner code
IMHO.  The implicit reference counting is great for unique or unchanging
data.  Pointers made easy (and neutered, but, TANSTAAFL.)

However, I'm all in favor of allocating most of the world right at the
beginning and then just modifying it w/out deleting or creating.  The
time savings come into play when you realize that you can implement some
pretty fancy caching algorithms, without having to worry about memory
leakage.  (Actually, you can leak in java too, but it's easier to avoid.)

I expect my server to have uptimes of over a month regularly, so even
small memory leaks would be a big problem.  But I should stop talking
and get back to writing on it :)


&gt; 
&gt; *-------------------------------------------**-----------------------------* 
&gt;    Dr. Cat / Dragon's Eye Productions       ||       Free alpha test:
&gt; *-------------------------------------------**  <A  HREF="http://www.bga.com/furcadia">http://www.bga.com/furcadia</A>
&gt;   Furcadia - a new graphic mud for PCs!     ||  Let your imagination soar!
&gt; *-------------------------------------------**-----------------------------*


Ben Greear (greear#cyberhighway,net)  <A  HREF="http://www.primenet.com/~greear">http://www.primenet.com/~greear</A> 
Author of ScryMUD:  mud.primenet.com 4444
<A  HREF="http://www.primenet.com/~greear/ScryMUD/scry.html">http://www.primenet.com/~greear/ScryMUD/scry.html</A>



-- 
MUD-Dev: Advancing an unrealised future.
</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="00515" HREF="msg00515.html">[MUD-Dev] Re: MUD Development Digest</A></STRONG>
<UL><LI><EM>From:</EM> "Dr. Cat" &lt;cat#bga,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00586.html">[MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from  map</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00544.html">[MUD-Dev] Re: MUD Development Digest</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00515.html">[MUD-Dev] Re: MUD Development Digest</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00544.html">[MUD-Dev] Re: MUD Development Digest</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00533"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00533"><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: MUD Development Digest</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00337" HREF="msg00337.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Wed 22 Apr 1998, 22:24 GMT
</LI>
</ul>
<LI><strong><A NAME="00387" HREF="msg00387.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 23 Apr 1998, 14:46 GMT
<UL>
<LI><strong><A NAME="00498" HREF="msg00498.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 24 Apr 1998, 04:11 GMT
<UL>
<LI><strong><A NAME="00515" HREF="msg00515.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Dr. Cat <a href="mailto:cat#bga,com">cat#bga,com</a>, Fri 24 Apr 1998, 04:44 GMT
<UL>
<LI><strong><A NAME="00533" HREF="msg00533.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 24 Apr 1998, 05:51 GMT
</LI>
<LI><strong><A NAME="00544" HREF="msg00544.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Justin McKinnerney <a href="mailto:xymox#toon,org">xymox#toon,org</a>, Fri 24 Apr 1998, 05:55 GMT
<UL>
<LI><strong><A NAME="00631" HREF="msg00631.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Dr. Cat <a href="mailto:cat#bga,com">cat#bga,com</a>, Fri 24 Apr 1998, 22:31 GMT
<UL>
<LI><strong><A NAME="00766" HREF="msg00766.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Justin McKinnerney <a href="mailto:xymox#toon,org">xymox#toon,org</a>, Mon 27 Apr 1998, 07:59 GMT
<UL>
<LI><strong><A NAME="00788" HREF="msg00788.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Dr. Cat <a href="mailto:cat#bga,com">cat#bga,com</a>, Tue 28 Apr 1998, 03:45 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>