<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: PDMud (was Re: Bruce Sterling on Virtual Community goals) --> <!--X-From-R13: Quevf Uenl <ptNnzv-pt.UenlEntr.Sqzbagba.OP.QO> --> <!--X-Date: Wed, 21 Oct 1998 21:08:49 -0700 --> <!--X-Message-Id: 199810220402.WAA00829@ami-cg.GraySage.Edmonton.AB.CA --> <!--X-Content-Type: text/plain --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Re: PDMud (was Re: Bruce Sterling on Virtual Communi</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA"> </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> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00334.html">Previous</a> | <a href="msg00336.html">Next</a> ] Thread: [ <a href="msg00363.html">Previous</a> | <a href="msg00348.html">Next</a> ] Index: [ <A HREF="author.html#00335">Author</A> | <A HREF="#00335">Date</A> | <A HREF="thread.html#00335">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: PDMud (was Re: Bruce Sterling on Virtual Community goals)</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: PDMud (was Re: Bruce Sterling on Virtual Community goals)</LI> <LI><em>From</em>: Chris Gray <<A HREF="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</A>></LI> <LI><em>Date</em>: Wed, 21 Oct 1998 22:02:47 -0600</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> [Niklas Elmqvist:] [I hope I'm not too out-of-date on my responses here!] [*much* snipped - no comments from me] >I agree. The GC-part is not a must, but would be nice. However, if we do >want it, it should be something we add from the beginning, yes? I suspect it would have to be. If we want non-programming-gurus to be able to write scripts directly in the language, they shouldn't have to worry about allocation/freeing of things. So, either garbage collection (something I know very little about) or reference counting should be used (are there other alternatives?). We should be clear about just what it is we are keeping track of, however. In a system like Java, it is all sorts of things, all kept in system memory, that are GC'ed. The other component that needs keeping track of is the database. As an example, in my system it is only the database entities that are ref-counted, since there isn't anything else that can dynamically be created. I keep all code, arrays, strings, tables, grammars, etc. in the database, so that makes sense. PDMud will be different, no doubt, so the question will have a different answer. However, I suspect that answer needs to be settled before a lot of other questions can be asked. >Well, how would you go about using C++ objects in a C++ module loaded by a >C program? Never mind, I assume you have the answer :) I'm not a C++ expert, but I do know a fair amount about compilers and run-time systems. Your question is valid, I believe. Calling C++ code from C isn't a big deal as long as you use "extern C" on the declarations exported by the C++ stuff. What is a problem is the C++ run-time system. Unless you are *very* careful in writing your C++ code, you will be invoking that run-time system, and if it hasn't been setup correctly, things will break. If the C++ runtime is completely self-initializing on its first use, it isn't a problem, but I would need assurance that that is the case before I stopped worrying about it. >Admittedly, you need *some* kind of coordination between modules. The >ParserModule must know the acceptable commands supported by the >other modules (or does it? Maybe this could be polled by a message from >the ParserModule: "Okay, send me your command grammars along with a way of >packaging this into a request you can capture."). I'd suggest you do it the other way around. The various modules like client graphics control, magic, movement, on-line building, etc. all tell the parser what actions they have, and the words for them, etc. The parser then uses this information to figure out what the user is trying to do. When it is successful, it simply calls the methods associated with the actions that it has decided on. -- Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA </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="00348" HREF="msg00348.html">[MUD-Dev] Re: PDMud (was Re: Bruce Sterling on Virtual Community goals)</A></strong> <ul compact><li><em>From:</em> Niklas Elmqvist <d97elm#dtek,chalmers.se></li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00334.html">[MUD-Dev] Re: Trusting the Client (Re: Laws of Online World D esign)</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00336.html">[MUD-Dev] Re: Recursive look</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00363.html">[MUD-Dev] Re: PDMud thread summary</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00348.html">[MUD-Dev] Re: PDMud (was Re: Bruce Sterling on Virtual Community goals)</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00335"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00335"><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: PDMud thread summary</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <ul compact> <LI><strong><A NAME="00374" HREF="msg00374.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, Darrin Hyrup <a href="mailto:shades#mythicgames,com">shades#mythicgames,com</a>, Fri 23 Oct 1998, 02:45 GMT <UL> <LI><strong><A NAME="00381" HREF="msg00381.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Fri 23 Oct 1998, 03:46 GMT </LI> </UL> </LI> </ul> </ul> <LI><strong><A NAME="00359" HREF="msg00359.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, The Arrow <a href="mailto:arrow#trelleborg,mail.telia.com">arrow#trelleborg,mail.telia.com</a>, Thu 22 Oct 1998, 19:03 GMT <UL> <LI><strong><A NAME="00363" HREF="msg00363.html">[MUD-Dev] Re: PDMud thread summary</A></strong>, Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Thu 22 Oct 1998, 20:55 GMT </LI> </UL> </LI> </ul> </LI> <LI><strong><A NAME="00335" HREF="msg00335.html">[MUD-Dev] Re: PDMud (was Re: Bruce Sterling on Virtual Community goals)</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 22 Oct 1998, 04:08 GMT <UL> <LI><strong><A NAME="00348" HREF="msg00348.html">[MUD-Dev] Re: PDMud (was Re: Bruce Sterling on Virtual Community goals)</A></strong>, Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Thu 22 Oct 1998, 11:32 GMT </LI> </UL> <UL> <li><Possible follow-up(s)><br> <LI><strong><A NAME="00339" HREF="msg00339.html">[MUD-Dev] Re: PDMud (was Re: Bruce Sterling on Virtual Community goals)</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 22 Oct 1998, 04:58 GMT <UL> <LI><strong><A NAME="00368" HREF="msg00368.html">[MUD-Dev] Re: PDMud (was Re: Bruce Sterling on Virtual Community goals)</A></strong>, Hal Black <a href="mailto:hal#moos,ml.org">hal#moos,ml.org</a>, Thu 22 Oct 1998, 23:26 GMT </LI> </UL> </LI> <LI><strong><A NAME="00372" HREF="msg00372.html">[MUD-Dev] Re: PDMud (was Re: Bruce Sterling on Virtual Community goals)</A></strong>, Felix A. Croes <a href="mailto:felix#dworkin,nl">felix#dworkin,nl</a>, Fri 23 Oct 1998, 01:31 GMT </LI> </UL> </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>