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. |
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.