1998Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Why not compile java into object code? -->
<!--X-From-R13: Qnyvona Fverfvnf Rnexybpx <pnyvonaNqnexybpx.pbz> -->
<!--X-Date: Fri, 27 Feb 1998 05:09:22 +0000 -->
<!--X-Message-Id: 199802270509.AAA12665#relay,mnsinc.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199802270342.VAA22400@dfw&#45;ix4.ix.netcom.com -->
<!--X-Reference: Pine.LNX.3.96.980226211324.491A&#45;100000#shamen,cyberhighway.net -->
<!--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:caliban#darklock,com">
</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="msg00613.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00615.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00611.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00617.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00614">Author</A>
&nbsp;|&nbsp;<A HREF="#00614">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00614">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>: Caliban Tiresias Darklock &lt;<A HREF="mailto:caliban#darklock,com">caliban#darklock,com</A>&gt;</LI>
<LI><em>Date</em>: Fri, 27 Feb 1998 00:09:50 -0500</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On 08:18 PM 2/26/98 +0000, I personally witnessed Ben Greear jumping up to
say:
&gt;
&gt;Since this is one of the largest bodies of opinionated, hard core coders I
&gt;know of, I'll pose the question here.  It's mostly off topic of course.
&gt;
&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++.

&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.

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

&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.

&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.


</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="00633" HREF="msg00633.html">Re: [MUD-Dev]  Why not compile java into object code?</A></strong>
<ul compact><li><em>From:</em> Ben Greear &lt;greear#cyberhighway,net&gt;</li></ul>
<li><strong><A NAME="00620" HREF="msg00620.html">Re: [MUD-Dev]  Why not compile java into object code?</A></strong>
<ul compact><li><em>From:</em> Nathan F Yospe &lt;yospe#hawaii,edu&gt;</li></ul>
<li><strong><A NAME="00617" HREF="msg00617.html">Why not compile java into object code?</A></strong>
<ul compact><li><em>From:</em> Niklas Elmqvist &lt;d97elm#dtek,chalmers.se&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00610" HREF="msg00610.html">Tutorial: Let's build a Compiler! - Part II: Expression Parsing</A></STRONG>
<UL><LI><EM>From:</EM> "Jon A. Lambert" &lt;Jon.A.Lambert#ix,netcom.com&gt;</LI></UL></LI>
<LI><STRONG><A NAME="00611" HREF="msg00611.html">Why not compile java into object code?</A></STRONG>
<UL><LI><EM>From:</EM> Ben Greear &lt;greear#cyberhighway,net&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00613.html">[MUD-Dev]  Why not compile java into object code?</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00615.html">Re: [MUD-Dev]  Java and Javascript</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00611.html">Why not compile java into object code?</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00617.html">Why not compile java into object code?</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00614"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00614"><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>Re: Tutorial: Let's build a Compiler! - Part I: Introductio</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00640" HREF="msg00640.html">Re: Tutorial: Let's build a Compiler! - Part I: Introductio</A></strong>, 
coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sat 28 Feb 1998, 03:03 GMT
</LI>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00613" HREF="msg00613.html">[MUD-Dev]  Why not compile java into object code?</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Fri 27 Feb 1998, 04:58 GMT
<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>
</UL>
</LI>
</UL>
</LI>
</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>