msg00036.html
2000Q1/msg00036.html · 8.7 KB
From the archive 2000Q1.zip
Download the archive « Back to the archive contents
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff. -->
<!--X-From-R13: Ayn Tbfurvz =?vfb-8859-1?C?Ue=T8fgnq?= <byntNvsv.hvb.ab> -->
<!--X-Date: Mon, 03 Jan 2000 08:44:25 -0800 -->
<!--X-Message-Id: 3870A85F.9462EAE1#ifi,uio.no -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 386FD2BB.32F122DE#cotdom,com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] concerning tokenization, compilation, performanc</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:olag#ifi,uio.no">
</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="msg00035.html">Previous</a>
| <a href="msg00037.html">Next</a>
]
Thread:
[ <a href="msg00029.html">Previous</a>
| <a href="msg00123.html">Next</a>
]
Index:
[ <A HREF="author.html#00036">Author</A>
| <A HREF="#00036">Date</A>
| <A HREF="thread.html#00036">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff.</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] concerning tokenization, compilation, performance, and other fun stuff.</LI>
<LI><em>From</em>: Ola Fosheim Grøstad <<A HREF="mailto:olag#ifi,uio.no">olag#ifi,uio.no</A>></LI>
<LI><em>Date</em>: Mon, 03 Jan 2000 14:47:11 +0100</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>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Nate Cain wrote:
> techniques. It seems to me (And I am no authority as I have never
> implemented a full driver, library, or compiler for any complex
> language) that the optimal solution for programming mud objects would be
> to have all of the objects be dynamicly linked libraries of some sort.
I'm no authority either, and my personal MUD projects never take off,
although I'd claim they all have implied novel new ideas. (hhmm.. that
could be the reason). Still, I have to say this:
*SCREAM* *FAINT* *BANG* *BANG* *BANG*
Anyone noticing an emerging pattern here? Every autumn we have a PK
debate (endless, repetitive and mostly pointless, I might add) and now
we'll have an annual dynamic linking project around new year... Not your
fault of course, it seems to be a geek instinct, assumed to be triggered
by excessive exposure to firecrackers. Kill in the autumn, link in
January.
I'm not going to try to convince anyone that there are other more basic
challenges that needs to be addressed in order to advance the state of
the art, because that has proved to be very time-consuming and
counterproductive in the past.
So, why not aim for something more flexible, like a JIT? There could be
some problems with your OS of choice and self modifying code, but as
there are open sourced approaches to look at (kaffe?) it could be a
reasonable learning experience? If you limit yourself to the most basic
operators on strings and integers, plus conditionals and function calls
then it could actually be done in a fair amount of time. You don't even
have to generate particularly good code in order to beat an interpreter!
One advantage is that you can prune out constant conditionals and
provide many "code snippets" for the same method optimized for different
circumstances. That's actually how you optimize a graphics driver, so
you can in theory get faster code than that generated by a regular
compiler (this is because the conditions are not known until run-time).
If you embark on this, then I would suggest using pc-relative code to
make your life easier in the start...
Ola.
_______________________________________________
MUD-Dev maillist - 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="00123" HREF="msg00123.html">Re: [MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff.</A></strong>
<ul compact><li><em>From:</em> J C Lawrence <claw#kanga,nu></li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00029" HREF="msg00029.html">[MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff.</A></STRONG>
<UL><LI><EM>From:</EM> Nate Cain <nate#cotdom,com></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00035.html">Re: [MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff.</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00037.html">Re: [MUD-Dev] Admins as Mortals twist</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00029.html">[MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff.</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00123.html">Re: [MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff.</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00036"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00036"><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="00026" HREF="msg00026.html">[MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff.</A></strong>,
Nate Cain <a href="mailto:nate#cotdom,com">nate#cotdom,com</a>, Mon 03 Jan 2000, 03:24 GMT
<UL>
<LI><strong><A NAME="00035" HREF="msg00035.html">Re: [MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff.</A></strong>,
Joel Dillon <a href="mailto:jo#kaffein,troll.no">jo#kaffein,troll.no</a>, Mon 03 Jan 2000, 16:44 GMT
<UL>
<LI><strong><A NAME="00038" HREF="msg00038.html">Re: [MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff.</A></strong>,
Greg Miller <a href="mailto:gmiller#classic-games,com">gmiller#classic-games,com</a>, Mon 03 Jan 2000, 17:43 GMT
</LI>
</UL>
</LI>
</UL>
<UL>
<li><Possible follow-up(s)><br>
<LI><strong><A NAME="00029" HREF="msg00029.html">[MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff.</A></strong>,
Nate Cain <a href="mailto:nate#cotdom,com">nate#cotdom,com</a>, Mon 03 Jan 2000, 03:27 GMT
<UL>
<LI><strong><A NAME="00036" HREF="msg00036.html">Re: [MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff.</A></strong>,
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Mon 03 Jan 2000, 16:44 GMT
<UL>
<LI><strong><A NAME="00123" HREF="msg00123.html">Re: [MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff.</A></strong>,
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Tue 18 Jan 2000, 09:08 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00031" HREF="msg00031.html">Re: [MUD-Dev] concerning tokenization, compilation, performance, and other fun stuff.</A></strong>,
cg <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 03 Jan 2000, 06:07 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00020" HREF="msg00020.html">[MUD-Dev] Chomsky's recursive theory of grammar</A></strong>,
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Sun 02 Jan 2000, 05:06 GMT
<LI><strong><A NAME="00017" HREF="msg00017.html">[MUD-Dev] New link support</A></strong>,
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Sun 02 Jan 2000, 01:22 GMT
</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>