Re: Possible to write compiler to Java VM?

tore@lis.pitt.edu (Tore Joergensen)
27 Jan 1996 01:13:33 -0500

          From comp.compilers

Related articles
[2 earlier articles]
Re: Possible to write compiler to Java VM? (I volunteer to summarize) NoeC@po1.cpi.bls.gov (1996-01-19)
Re: Possible to write compiler to Java VM? Dirk.Craeynest@cs.kuleuven.ac.be (1996-01-25)
Re: Possible to write compiler to Java VM? chase@centerline.com (1996-01-25)
Re: Possible to write compiler to Java VM? bwilson@shasta.stanford.edu (Bob Wilson) (1996-01-25)
Re: Possible to write compiler to Java VM? clodius@sst.lanl.gov (William Clodius) (1996-01-27)
Re: Possible to write compiler to Java VM? tdunbar@gserver.grads.vt.edu (Thomas Dunbar) (1996-01-27)
Re: Possible to write compiler to Java VM? tore@lis.pitt.edu (1996-01-27)
Re: Possible to write compiler to Java VM? sam@inf.enst.fr (Samuel Tardieu) (1996-01-28)
Re: Possible to write compiler to Java VM? hbaker@netcom.com (1996-01-29)
Re: Possible to write compiler to Java VM? david.hopwood@lady-margaret-hall.oxford.ac.uk (1996-01-29)
Re: Possible to write compiler to Java VM? darius@phidani.be (Darius Blasband) (1996-01-29)
Re: Possible to write compiler to Java VM? stt@copperfield.camb.inmet.com (1996-01-29)
Re: Possible to write compiler to Java VM? ncohen@watson.ibm.com (1996-01-29)
[20 later articles]
| List of all articles for this month |
From: tore@lis.pitt.edu (Tore Joergensen)
Newsgroups: comp.lang.java,comp.compilers
Followup-To: comp.lang.java,comp.compilers
Date: 27 Jan 1996 01:13:33 -0500
Organization: University of Pittsburgh
References: 96-01-037 96-01-045 96-01-049
Keywords: interpreter, Ada

[...deleted...]
: The very idea that a compiler (cross compiler, actually) can be built
: to emit Java byte-codes from a foreign langauge stems from the idea
: that the essence of the language is its syntax. This may be true of
: some languages, but Java has at its core an extensive class
: library. When a Java applet is written, the programmer reuses the code
: in those libraries. A compiler which merely translates a legacy app
: written in another language can take very little advantage of the Java
: libraries. As a result, the executable will be large and cumbersome.


: In fact, it may not be possible at all to automatically generate
: byte-codes which will pass the security checks for code that was not
: designed to operate within the security constraints of the Java model.
[...deleted...]


Just a few words about the work that is going on to make an Ada95 to
j-code compiler:
- The Ada95-compiler will have an exact match for each of the
    Java-classes. I don't know if it will support reuse of code
    written in the Java language.
- The Java language is much closer to Ada95 than to C++ (as long as
    you don't look at the cosmetics (syntax)). The target for the Ada95
    compiler is as an alternative to Java (included WWW-usage), so it
    will definitely work within the security constraints of the Java
    model. BTW, Ada95 was born with multi-tasking, single inheritance
    and a restrictive pointer policy.
- For information about the Ada95 to j-code compiler, look at:
    http://www.acm.org/sigada/wg/web_ada/index.html
    http://www.inmet.com/java.html
+-------------------------+-------------------------------------------+
| Tore B. Joergensen | e-mail : tore@lis.pitt.edu |
| Centre Court Villa | web : http://www.pitt.edu/~tojst1 |
| 5535 Centre Avenue # 6 | |
| Pgh, PA 15232, USA | Norwegian MSIS-student at Univ. of Pgh. |
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.