1999Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: Java I/O and threads. -->
<!--X-From-R13: Xb Rvyyba <rzvylNgurybavbhf.arj.bk.np.hx> -->
<!--X-Date: Mon, 25 Jan 1999 11:04:52 &#45;0800 -->
<!--X-Message-Id: 19990125190442.A2800#thelonious,new.ox.ac.uk -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 19990125171927.A1348#thelonious,new.ox.ac.uk -->
<!--X-Reference: XFMail.990125120250.cynbe#muq,org -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: Java I/O and threads.</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:emily#thelonious,new.ox.ac.uk">
</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="msg00256.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00258.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00255.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00265.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00257">Author</A>
&nbsp;|&nbsp;<A HREF="#00257">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00257">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: Java I/O and threads.</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: Java I/O and threads.</LI>
<LI><em>From</em>: Jo Dillon &lt;<A HREF="mailto:emily#thelonious,new.ox.ac.uk">emily#thelonious,new.ox.ac.uk</A>&gt;</LI>
<LI><em>Date</em>: Mon, 25 Jan 1999 19:04:42 +0000</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>
cynbe#muq,org (cynbe#muq,org) spake thusly:
&gt; On 25-Jan-99 Jo Dillon wrote:
&gt; &gt;   Not necessarily - it depends on your hardware and OS. Java's designed
&gt; &gt; to use lots of threads so it's not too much of a worry.
&gt; But Java is a resource pig at the best of times :( :( :(.

  I'm fully aware of that. I maintain a 30,000 line Java applet for
a living (among other things).
 
&gt; I just came off a year with a company (www.activerse.com) trying to produce
&gt; a Java application (Ding!) to compete with C applications (ICQ), and it was
&gt; very discouraging.
&gt; 
&gt; Be aware that, for example, a seven-char string will eat over 100 bytes of
&gt; ram.  Many muds use small strings heavily, so this can be nearly lethal if
&gt; resource usage is any sort of concern at all.

  Well, that depends on the system.
 
&gt; The Java GUI libraries, at least, also tend to be rather un threadsafe, in
&gt; ways that vary wildly from platform to platform.  I can't speak for the other
&gt; Java libraries, but I'd be inclined to suspect the worst until demonstrated
&gt; otherwise.

  I've had no problems with the 1.1 AWT. Swing is intentionally designed
not to be threadsafe, I believe. But surely the whole point is moot with
a Java /server/.
 
&gt; I did look at the no-select()-in-Java problem, and as far as I can tell, 
&gt; there
&gt; is indeed no alternative to a thread per active socket.  I'm less optimistic
&gt; than Jo that all platforms will handle this nicely, however.  
&gt; To put it mildly.

  Well, I didn't say it'd be 'nicely'. Java isn't my ideal server 
implementation language either. But merely having lots of threads isn't
likely to be the biggest problem.

-- 
	Jo




</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="00254" HREF="msg00254.html">[MUD-Dev] Re: Java I/O and threads.</A></STRONG>
<UL><LI><EM>From:</EM> Jo Dillon &lt;emily#thelonious,new.ox.ac.uk&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00255" HREF="msg00255.html">[MUD-Dev] Re: Java I/O and threads.</A></STRONG>
<UL><LI><EM>From:</EM> cynbe#muq,org</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00256.html">[MUD-Dev] Re: META: list "peerage"</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00258.html">[MUD-Dev] Re: META: List "peerage"</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00255.html">[MUD-Dev] Re: Java I/O and threads.</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00265.html">[MUD-Dev] Re: Java I/O and threads.</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00257"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00257"><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: Reset Death</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00290" HREF="msg00290.html">[MUD-Dev] Re: Reset Death</A></strong>, 
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Tue 26 Jan 1999, 20:52 GMT
</LI>
</ul>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00251" HREF="msg00251.html">[MUD-Dev] Java I/O and threads.</A></strong>, 
Elis Pomales <a href="mailto:pomales#caip,rutgers.edu">pomales#caip,rutgers.edu</a>, Mon 25 Jan 1999, 15:19 GMT
<UL>
<LI><strong><A NAME="00254" HREF="msg00254.html">[MUD-Dev] Re: Java I/O and threads.</A></strong>, 
Jo Dillon <a href="mailto:emily#thelonious,new.ox.ac.uk">emily#thelonious,new.ox.ac.uk</a>, Mon 25 Jan 1999, 17:19 GMT
<UL>
<LI><strong><A NAME="00255" HREF="msg00255.html">[MUD-Dev] Re: Java I/O and threads.</A></strong>, 
cynbe <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Mon 25 Jan 1999, 18:12 GMT
<UL>
<LI><strong><A NAME="00257" HREF="msg00257.html">[MUD-Dev] Re: Java I/O and threads.</A></strong>, 
Jo Dillon <a href="mailto:emily#thelonious,new.ox.ac.uk">emily#thelonious,new.ox.ac.uk</a>, Mon 25 Jan 1999, 19:04 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00265" HREF="msg00265.html">[MUD-Dev] Re: Java I/O and threads.</A></strong>, 
Elis Pomales <a href="mailto:pomales#caip,rutgers.edu">pomales#caip,rutgers.edu</a>, Mon 25 Jan 1999, 21:39 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00244" HREF="msg00244.html">[MUD-Dev] ADMIN: We're working again.</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Mon 25 Jan 1999, 01:49 GMT
<LI><strong><A NAME="00237" HREF="msg00237.html">[MUD-Dev] Re: Mugu</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 21 Jan 1999, 02:42 GMT
<LI><strong><A NAME="00236" HREF="msg00236.html">[MUD-Dev] Re: Graphic design doc</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 21 Jan 1999, 02:31 GMT
</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>