1998Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Why not compile java into object code? -->
<!--X-From-R13: @nguna T Kbfcr <lbfcrNunjnvv.rqh> -->
<!--X-Date: Fri, 27 Feb 1998 08:22:13 +0000 -->
<!--X-Message-Id: Pine.GSO.3.95q.980226221555.25382A&#45;100000@uhunix1 -->
<!--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:yospe#hawaii,edu">
</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="msg00619.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00622.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00617.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00633.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00620">Author</A>
&nbsp;|&nbsp;<A HREF="#00620">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00620">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>: Nathan F Yospe &lt;<A HREF="mailto:yospe#hawaii,edu">yospe#hawaii,edu</A>&gt;</LI>
<LI><em>Date</em>: Thu, 26 Feb 1998 22:21:52 -1000</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:

:On 08:18 PM 2/26/98 +0000, I personally witnessed Ben Greear jumping up to
:say:

:&gt;What would it take to compile java down into object code (.o files)?

:A complete perversion of everything Java stands for. The whole idea is
:'write once, run everywhere'. If you want object code, use C++.

And on another note, it is being done. I've seen a sun bytecode-to-sparc
compiler (never made it out of beta, that I know of), bytecode to MacOS,
bytecode to BeOS...

:&gt;It's not being done...but I wonder why?  I don't care if I have to compile
:&gt;for each platform...if I compile just for win95 80% of my users will enjoy
:&gt;a tremendous speedup....

:Use Microsoft J++. It generates much faster bytecode, which is
:unfortunately not always compatible with JVMs from other vendors, but who
:cares? Everyone's using Microsoft anyway, right? What difference does it
:make if some of the people who would normally be able to run it can't?
:Well, to hear Sun's side of it, the entire POINT of Java is compatibility
:and if you design an incompatible Java compiler then you're not really
:doing Java. I tend to agree.

This is post-distribution one-time optimization. Completely different case.

&lt;rant snipped&gt; This is a language war - not good.

:&gt;On a similar level, is this what JIT compilers do?  

:Nope. JIT compilers take actual Java source and make it into bytecode. In
:other words, you don't have to compile your Java if you use a JIT compiler,
:because the JIT compiler does it for you. Excellent during development. Not
:so excellent in distribution.

Wrong. JITs optimize sequences of bytecode during runtime, and cache them.
I'm not sure _what_ you are thinking of, but it isn't a Java JIT. The idea
of optimizing and caching sequences is a good one for bytecode based muds as
well.

:&gt;If so, could not
:&gt;someone write a JIT that produces an ordinary exe?

:It occurs to me that it may very well be forbidden under Sun's license
:agreement to create a native-code compiler for Java. Bytecode is pretty
:much an integral part of what Java is, after all.

Sun has done this themselves, and there is no prohibition in the licence that
I can recall.
-- 

Nathan F. Yospe - Aimed High, Crashed Hard, In the Hanger, Back Flying Soon
Jr Software Engineer, Textron Systems Division (On loan to Rocketdyne Tech)
(Temporarily on Hold) Student, University of Hawaii at Manoa, Physics Dept.
yospe#hawaii.edu nyospe#premier.mhpcc.af.mil <A  HREF="http://www2.hawaii.edu/~yospe/">http://www2.hawaii.edu/~yospe/</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="msg00619.html">Re: [MUD-Dev]  Java and Javascript</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00622.html">Re: [MUD-Dev]  Why not compile java into object code?</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00617.html">Why not compile java into object code?</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00633.html">Re: [MUD-Dev]  Why not compile java into object code?</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00620"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00620"><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="00610" HREF="msg00610.html">Tutorial: Let's build a Compiler! - Part II: Expression Parsing</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:42 GMT
<UL>
<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
</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>