1998Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  DBs and Events -->
<!--X-From-R13: @nguna Kbfcr <lbfcrNunjnvv.rqh> -->
<!--X-Date: Tue, 10 Feb 1998 19:40:58 +0000 -->
<!--X-Message-Id: Pine.GSO.3.95q.980210092208.22633B&#45;100000@uhunix1 -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.LNX.3.91.980210181226.65I&#45;100000@uni&#45;corn.demon.co.uk -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  DBs and Events</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:yospe#hawaii,edu">
</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="msg00396.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00398.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00396.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00399.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00397">Author</A>
&nbsp;|&nbsp;<A HREF="#00397">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00397">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  DBs and Events</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev]  DBs and Events</LI>
<LI><em>From</em>: Nathan Yospe &lt;<A HREF="mailto:yospe#hawaii,edu">yospe#hawaii,edu</A>&gt;</LI>
<LI><em>Date</em>: Tue, 10 Feb 1998 09:41:52 -1000</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Tue, 10 Feb 1998, Greg Munt wrote:

:Am looking for some (web) references to disk-based databases. Can anyone 
:help? Advantages and disadvantages of using (only) GDBM to provide a mud DB?

Can't help you on this. All active stuff exists as patially instantiated
in-memory references for me... not exactly an object model, and no DBDB.

:Also, any references to caches?

Again, can't help you. I've done caches, but not for my mud... and there
is such a broad spectrum of things that qualify as cache. Do you want to
know more about cached in-memory storage for a disk-based DB? Using your
registers as cache for iterated short strings of instructions? Caching a
file or two off the net the way browsers do? Or bottleneck spot caching?

:Any references to Event Management? Is there any alternative to using a 
:pointer to a function, to store the Event-&gt;function()? (This has the 
:disadvantage of every Event-&gt;function() needing to have the same number 
:and type of parameters being passed to it.)

Here we go. This I can help you with. Events don't have to be functions,
for a start. An event could be stored as anything, from a script on down
to a held thread. I store mine as classes... any action is executed from
an event class, which grabs the nearest available execution thread, sets
it to the event's references, and frees it to go. Events are, by design,
only actually capable of grabbing one specific thread, such that any set
of events cannot execute asynchronously on the same resources. Functions
are actually pulled up _after_ execution begins... Event.Process() is at
its basis a normalization check, which tries to match a list of objects,
and upon success, changes the values of the objects to a new norm, then,
with its still-active thread, allows those objects to update. The object
update methods are the actual functions involved, and once each object's
updates are complete (and affected objects with zero delay complete such
updates as the modified objects have made available) the thread is wiped
clear of variables, set to sleep, and returned to the pool. This is just
one approach to events that doesn't actually require a function pointer,
and a good number of others can be found in deja news archives of thread
and event related newsgroups.
-- 

Nathan F. Yospe - Aimed High, Crashed Hard, In the Hanger, Back Flying Soon
Jr Software Engineer, Textron Systems Division (On loan to Rocketdyne Tech)
(Temporarily on Hold) Physics student, University of Hawaii dept of Physics
yospe#hawaii,edu nyospe#premeir,mhpcc.af.mil <A  HREF="http://www2.hawaii.edu/~yospe/">http://www2.hawaii.edu/~yospe/</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="00399" HREF="msg00399.html">Re: [MUD-Dev] DBs and Events</A></strong>
<ul compact><li><em>From:</em> Greg Munt &lt;greg#uni-corn,demon.co.uk&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00396" HREF="msg00396.html">DBs and Events</A></STRONG>
<UL><LI><EM>From:</EM> Greg Munt &lt;greg#uni-corn,demon.co.uk&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00396.html">DBs and Events</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00398.html">No Subject</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00396.html">DBs and Events</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00399.html">Re: [MUD-Dev] DBs and Events</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00397"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00397"><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>Re: [MUD-Dev] Character development [was Re: ]</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00846" HREF="msg00846.html">Re: [MUD-Dev] Character development [was Re: ]</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Mon 23 Mar 1998, 18:42 GMT
<UL>
<LI><strong><A NAME="00890" HREF="msg00890.html">Re: [MUD-Dev] Character development [was Re: ]</A></strong>, 
Matt Chatterley <a href="mailto:matt#mpc,dyn.ml.org">matt#mpc,dyn.ml.org</a>, Wed 25 Mar 1998, 08:12 GMT
</LI>
</UL>
</LI>
</ul>
</ul>
<LI><strong><A NAME="00905" HREF="msg00905.html">No Subject</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 26 Mar 1998, 17:32 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00396" HREF="msg00396.html">DBs and Events</A></strong>, 
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Tue 10 Feb 1998, 18:30 GMT
<UL>
<LI><strong><A NAME="00397" HREF="msg00397.html">Re: [MUD-Dev]  DBs and Events</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Tue 10 Feb 1998, 19:40 GMT
<UL>
<LI><strong><A NAME="00399" HREF="msg00399.html">Re: [MUD-Dev] DBs and Events</A></strong>, 
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Wed 11 Feb 1998, 10:50 GMT
<UL>
<LI><strong><A NAME="00400" HREF="msg00400.html">DBs and Events</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Wed 11 Feb 1998, 14:26 GMT
<UL>
<LI><strong><A NAME="00432" HREF="msg00432.html">OT: Linux g++</A></strong>, 
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Thu 12 Feb 1998, 11:52 GMT
<UL>
<LI><strong><A NAME="00444" HREF="msg00444.html">Re: [MUD-Dev]  OT: Linux g++</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 13 Feb 1998, 00:30 GMT
</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>