1998Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev]  Why not compile java into object code? -->
<!--X-From-R13: Qlaor eh Fnera <plaorNzhd.bet> -->
<!--X-Date: Fri, 27 Feb 1998 04:58:00 +0000 -->
<!--X-Message-Id: 199802270457.WAA07479#laurel,actlab.utexas.edu -->
<!--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]  Why not compile java into object code?</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:cynbe#muq,org">
</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="msg00612.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00614.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00640.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00610.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00613">Author</A>
&nbsp;|&nbsp;<A HREF="#00613">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00613">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[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>, <A HREF="mailto:greear#cyberhighway,net">greear#cyberhighway,net</A></LI>
<LI><em>Subject</em>: [MUD-Dev]  Why not compile java into object code?</LI>
<LI><em>From</em>: Cynbe ru Taren &lt;<A HREF="mailto:cynbe#muq,org">cynbe#muq,org</A>&gt;</LI>
<LI><em>Date</em>: Thu, 26 Feb 1998 22:57:56 -0600</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>

| What would it take to compile java down into object code (.o files)?
| It's not being done...but I wonder why?  I don't care if I have to compile
| for each platform...if I compile just for win95 80% of my users will enjoy
| a tremendous speedup....

Actually, this isn't that unusual: SuperCede does it, for example.  We
tested one of our products compiled this way recently.

There are some obvious problems:  If a program uses classForName()
calls load unpredictable classes at runtime, either a complete
interpretive environment must be included, or the compiler must
refuse to compile it. (Not sure which SuperCede does offhand.)

| On a similar level, is this what JIT compilers do?  If so, could not
| someone write a JIT that produces an ordinary exe?

Well, JIT compilers are ordinarily going to compile individual classes
on the fly, while maintaining the complete interpretation environment.

This means that they probably can't optimize as heavily as a
conventional optimizing compiler (partly because they don't have the
time, partly because they can't do interprocedural analsis and move
code between classes and such) but on the other hand means that they
can offer nearly total compatibility with the standard bytecode
environment, since they still include (normally) a complete bytecoded
environment.

| I must be missing something here....
|
| Looking for enlightenment...

Just that Java is very young, the standard bytecoded systems are still
not working decently (trust me, I rassle them for a living), so it is a
bit early to expect production-quality incremental compilers (the old
word for JITs before Sun marketing took over) to be making any real
splash.

However, Java is very carefully engineered to simplify the job of
JITs / incremental compilers, so you can expect them to progress much
faster and produce much higher quality results with a much higher level
of compatibility than has been the case with older interpreted languages.

 Cynbe


</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="msg00612.html">Re: [MUD-Dev]  Java and Javascript</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00614.html">Re: [MUD-Dev]  Why not compile java into object code?</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00640.html">Re: Tutorial: Let's build a Compiler! - Part I: Introductio</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00610.html">Tutorial: Let's build a Compiler! - Part II: Expression Parsing</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00613"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00613"><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="00624" HREF="msg00624.html">Re: [MUD-Dev]	Tutorial: Let's build a Compiler! - Part I: Introductio</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 27 Feb 1998, 18:20 GMT
<UL>
<LI><strong><A NAME="00625" HREF="msg00625.html">Tutorial: Let's build a Compiler! - Part I: Introductio</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Fri 27 Feb 1998, 18:45 GMT
<UL>
<LI><strong><A NAME="00635" HREF="msg00635.html">Re: [MUD-Dev]  Tutorial: Let's build a Compiler! - Comments</A></strong>, 
Jon A. Lambert <a href="mailto:Jon.A.Lambert#ix,netcom.com">Jon.A.Lambert#ix,netcom.com</a>, Sat 28 Feb 1998, 02:09 GMT
</LI>
<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>
</LI>
</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>
</UL>
</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>