1998Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Why not compile java into object code? -->
<!--X-From-R13: Pra Uerrne <terrneNploreuvtujnl.arg> -->
<!--X-Date: Sat, 28 Feb 1998 00:39:16 +0000 -->
<!--X-Message-Id: Pine.LNX.3.96.980227173120.341A&#45;100000#shamen,cyberhighway.net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199802270509.AAA12665#relay,mnsinc.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Why not compile java into object code?</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:greear#cyberhighway,net">
</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="msg00632.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00634.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00620.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00618.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00633">Author</A>
&nbsp;|&nbsp;<A HREF="#00633">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00633">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Why not compile java into object code?</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]  Why not compile java into object code?</LI>
<LI><em>From</em>: Ben Greear &lt;<A HREF="mailto:greear#cyberhighway,net">greear#cyberhighway,net</A>&gt;</LI>
<LI><em>Date</em>: Fri, 27 Feb 1998 17:37:39 -0700 (MST)</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>

On Thu, 26 Feb 1998, Caliban Tiresias Darklock wrote:

&gt; On 08:18 PM 2/26/98 +0000, I personally witnessed Ben Greear jumping up to
&gt; say:
&gt; &gt;
&gt; &gt;Since this is one of the largest bodies of opinionated, hard core coders I
&gt; &gt;know of, I'll pose the question here.  It's mostly off topic of course.
&gt; &gt;
&gt; &gt;What would it take to compile java down into object code (.o files)?
&gt; 
&gt; A complete perversion of everything Java stands for. The whole idea is
&gt; 'write once, run everywhere'. If you want object code, use C++.
&gt; 

Don't get me wrong here, I love the concept of java.  But it's slowness
makes me leery of writing a really huge, compilcated application in it.

It seems that if you could make it fast for most of the people, but
workable for all, that would be better than just workable for all...

I probably will use c++ for the server and other non GUI stuff, but I
know and love the Java awt, and would be loathe to learn a c/c++
interface, which would not be portable across Xwin and win95....

&gt; &gt;It's not being done...but I wonder why?  I don't care if I have to compile
&gt; &gt;for each platform...if I compile just for win95 80% of my users will enjoy
&gt; &gt;a tremendous speedup....
&gt; 
&gt; Use Microsoft J++. It generates much faster bytecode, which is
&gt; unfortunately not always compatible with JVMs from other vendors, but who
&gt; cares? Everyone's using Microsoft anyway, right? What difference does it
&gt; make if some of the people who would normally be able to run it can't?
&gt; Well, to hear Sun's side of it, the entire POINT of Java is compatibility
&gt; and if you design an incompatible Java compiler then you're not really
&gt; doing Java. I tend to agree.

Never tried it....  Might be worth it to put it out as well as the
standard java compiled classes though, if it really did increase
performance noticeably...

&gt; Java is a language built for a specific purpose. You wouldn't write an
&gt; operating system in BASIC. You wouldn't write a device driver in APL. Could
&gt; you? Probably. But they're the wrong tools for the job. If you go out and
&gt; buy a screwdriver, you can't expect it to hammer nails, and wishing someone
&gt; would make a screwdriver with a stainless steel handle is a lot less
&gt; productive than going out and buying a hammer. If you want native code,
&gt; quit working in Java and pick up a real language. You'll lose a lot of
&gt; Java's nice features, but you'll lose all the restrictions, too. The
&gt; question is what's more important -- the nice features of Java, or the nice
&gt; features of C++? Sooner or later you have to decide whether you're going to
&gt; buy the station wagon or the convertible, and live with whatever choice you
&gt; make. 

I want a convertable that will haul a trailer :)

&gt; 
&gt; &gt;On a similar level, is this what JIT compilers do?  
&gt; 
&gt; Nope. JIT compilers take actual Java source and make it into bytecode. In
&gt; other words, you don't have to compile your Java if you use a JIT compiler,
&gt; because the JIT compiler does it for you. Excellent during development. Not
&gt; so excellent in distribution.

I think you're wrong on this one...


Ben Greear (greear#cyberhighway,net)  <A  HREF="http://www.primenet.com/~greear">http://www.primenet.com/~greear</A> 
Author of ScryMUD:  mud.primenet.com 4444
<A  HREF="http://www.primenet.com/~greear/ScryMUD/scry.html">http://www.primenet.com/~greear/ScryMUD/scry.html</A>



</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="00614" HREF="msg00614.html">Re: [MUD-Dev]  Why not compile java into object code?</A></STRONG>
<UL><LI><EM>From:</EM> Caliban Tiresias Darklock &lt;caliban#darklock,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00632.html">Tutorial: Let's build a Compiler! - Part VI: Boolean Expressions</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00634.html">Re: [MUD-Dev]  Java and Javascript</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00620.html">Re: [MUD-Dev]  Why not compile java into object code?</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00618.html">Re: [MUD-Dev]  Why not compile java into object code?</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00633"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00633"><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>Why not compile java into object code?</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00611" HREF="msg00611.html">Why not compile java into object code?</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 27 Feb 1998, 04:19 GMT
<UL>
<LI><strong><A NAME="00614" HREF="msg00614.html">Re: [MUD-Dev]  Why not compile java into object code?</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Fri 27 Feb 1998, 05:09 GMT
<UL>
<LI><strong><A NAME="00617" HREF="msg00617.html">Why not compile java into object code?</A></strong>, 
Niklas Elmqvist <a href="mailto:d97elm#dtek,chalmers.se">d97elm#dtek,chalmers.se</a>, Fri 27 Feb 1998, 06:05 GMT
</LI>
<LI><strong><A NAME="00620" HREF="msg00620.html">Re: [MUD-Dev]  Why not compile java into object code?</A></strong>, 
Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Fri 27 Feb 1998, 08:22 GMT
</LI>
<LI><strong><A NAME="00633" HREF="msg00633.html">Re: [MUD-Dev]  Why not compile java into object code?</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sat 28 Feb 1998, 00:39 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00618" HREF="msg00618.html">Re: [MUD-Dev]  Why not compile java into object code?</A></strong>, 
Jon A. Lambert <a href="mailto:Jon.A.Lambert#ix,netcom.com">Jon.A.Lambert#ix,netcom.com</a>, Fri 27 Feb 1998, 06:16 GMT
</LI>
<LI><strong><A NAME="00622" HREF="msg00622.html">Re: [MUD-Dev]  Why not compile java into object code?</A></strong>, 
Travis Casey <a href="mailto:efindel#polaris,net">efindel#polaris,net</a>, Fri 27 Feb 1998, 12:19 GMT
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00609" HREF="msg00609.html">Tutorial: Let's build a Compiler! - Part I: Introduction</A></strong>, 
Jon A. Lambert <a href="mailto:Jon.A.Lambert#ix,netcom.com">Jon.A.Lambert#ix,netcom.com</a>, Fri 27 Feb 1998, 03:36 GMT
<LI><strong><A NAME="00608" HREF="msg00608.html">Tutorial: Comments on Hand-crafting a compiler</A></strong>, 
Jon A. Lambert <a href="mailto:Jon.A.Lambert#ix,netcom.com">Jon.A.Lambert#ix,netcom.com</a>, Fri 27 Feb 1998, 03:30 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>