<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: Wild idea.. :) --> <!--X-From-R13: Quevf Uenl <ptNnzv-pt.UenlEntr.Sqzbagba.OP.QO> --> <!--X-Date: Sat, 5 Sep 1998 12:50:16 -0700 --> <!--X-Message-Id: 199809051949.NAA03432@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: Wild idea.. :)</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="msg00964.html">Previous</a> | <a href="msg00966.html">Next</a> ] Thread: [ <a href="msg00957.html">Previous</a> | <a href="msg00933.html">Next</a> ] Index: [ <A HREF="author.html#00965">Author</A> | <A HREF="#00965">Date</A> | <A HREF="thread.html#00965">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: Wild idea.. :)</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: Wild idea.. :)</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>: Sat, 5 Sep 1998 13:49:43 -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> [Vadim Tkachenko:] >Related question (off the top of my head, so that's just a thought >aloud): is Java serialized stream documented? (guess so) What is a cost >of cross-platform (mean cross-language and big/little endian (or it's >always network order?)) serialization engine? (guess VERY HIGH) Take a look at interfaces "java.io.DataInput" and "java.io.DataOutput". They are implemented by classes "java.io.DataInputStream" and "java.io.DataOutputStream" respectively. Also, class "java.io.RandomAccessFile" implements both interfaces. My guess is that the transformations are not particularly expensive. Just the usual order of magnitude slower than equivalent C code. I was just looking in the the Java Language spec, so didn't see what is available for the socket classes, but I vaguely recall that there are socket classes that accept the same kinds of data streams. In the definitions of those interfaces, the methods used for encoding and decoding values are all clearly big-endian (network byte order). This is one of the reasons I decide my binary protocol for AmigaMUD should stay big-endian, as should my storage format in the MUD database files. After a bit of fiddling (much of which turned out not to be related to byte-order issues), I've now got a server running here on mud.graysage.edmonton.ab.ca that is compatible with my old AmigaMUD V1.1 client. I haven't gotten the telnet stuff going for it yet, so unless you are using the custom client, please don't try to connect. I'll let the list know when I'm ready for that! -- Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <!--X-Follow-Ups-End--> <!--X-References--> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00964.html">[MUD-Dev] Re: npc memory and reactions</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00966.html">[MUD-Dev] Re: Wild idea.. :)</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00957.html">[MUD-Dev] Re: Wild idea.. :)</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00933.html">[MUD-Dev] Re: Intermud Communication...is it worth it?</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00965"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00965"><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="00951" HREF="msg00951.html">[MUD-Dev] ADMIN: Unsubscription</A></strong>, J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Sat 05 Sep 1998, 00:59 GMT <LI><strong><A NAME="00943" HREF="msg00943.html">[MUD-Dev] Re: Wild idea.. :)</A></strong>, quzah <a href="mailto:quzah#geocities,com">quzah#geocities,com</a>, Fri 04 Sep 1998, 07:45 GMT <UL> <LI><strong><A NAME="00947" HREF="msg00947.html">[MUD-Dev] Re: Wild idea.. :)</A></strong>, Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Fri 04 Sep 1998, 18:57 GMT </LI> </UL> <UL> <li><Possible follow-up(s)><br> <LI><strong><A NAME="00957" HREF="msg00957.html">[MUD-Dev] Re: Wild idea.. :)</A></strong>, Damion Schubert <a href="mailto:zjiria#texas,net">zjiria#texas,net</a>, Sat 05 Sep 1998, 02:24 GMT </LI> <LI><strong><A NAME="00965" HREF="msg00965.html">[MUD-Dev] Re: Wild idea.. :)</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 05 Sep 1998, 19:50 GMT </LI> </UL> </LI> <LI><strong><A NAME="00933" HREF="msg00933.html">[MUD-Dev] Re: Intermud Communication...is it worth it?</A></strong>, Michael.Willey <a href="mailto:Michael.Willey#abnamro,com">Michael.Willey#abnamro,com</a>, Thu 03 Sep 1998, 18:22 GMT <UL> <li><Possible follow-up(s)><br> <LI><strong><A NAME="00993" HREF="msg00993.html">[MUD-Dev] Re: Intermud Communication...is it worth it?</A></strong>, chris <a href="mailto:chris#realm,zfn.uni-bremen.de">chris#realm,zfn.uni-bremen.de</a>, Wed 09 Sep 1998, 06:49 GMT </LI> </UL> </LI> <LI><strong><A NAME="00926" HREF="msg00926.html">[MUD-Dev] Re:Intermud Communication...is it worth it?</A></strong>, Michael.Willey <a href="mailto:Michael.Willey#abnamro,com">Michael.Willey#abnamro,com</a>, Thu 03 Sep 1998, 13:05 GMT <LI><strong><A NAME="00921" HREF="msg00921.html">[MUD-Dev] Wild idea.. :)</A></strong>, Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Thu 03 Sep 1998, 04:45 GMT </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>