comp.lang.ada
 help / color / mirror / Atom feed
From: stt@henning.camb.inmet.com (Tucker Taft)
Subject: Re: Java Risks  (should be Java mis-speak)
Date: 1996/06/03
Date: 1996-06-03T00:00:00+00:00	[thread overview]
Message-ID: <DsG548.C88.0.-s@inmet.camb.inmet.com> (raw)
In-Reply-To: Pine.GSO.3.92.960602122058.12386A-100000@nunic.nu.edu


Richard Riehle (rriehle@nunic.nu.edu) wrote:
: On Fri, 31 May 1996, The Right Reverend Colin James III wrote:

: Colin,

: I appreciate your taking the time to post a reply to my comments.

: > Richard Riehle <rriehle@nunic.nu.edu> posted with deletions:
: >
: > Apparently Riehle does not understand that bytecode produced by Java is
: > exactly what FORTH produces.  

The Java bytecode and the FORTH representation are not "exactly" the same.
In fact, FORTH generally uses a "word" code rather than a byte code.
The Java byte code and the FORTH word-code have some common goals,
but the details are all quite different.

: > Therefore for Ada or Eiffel to produce bytecode is silly.

:     If I implied that Ada or Eiffel should produce bytecode, I apologize.
:     That was never my intention.  However, there are already Ada products,
:     and, I believe, Eiffel products in development, that will generate
:     either Java code or some intermediate Java representation that will
:     ultimately be translated into bytecode.

Our Ada/Java product ("AppletMagic(r)") generates Java-compatible 
byte codes directly, with no intermediate steps.  Java byte-codes are 
stored in ".class" files.  The output of AppletMagic, just like 
the output of Sun's Java compiler, is one or more ".class"
files, containing byte-codes to represent methods, and other information
to provide the symbol table information necessary to support
dynamic linking.

The Java byte-code/".class"-file format, although designed to support
Java, is not inherently dependent on the "surface syntax" used to
write a program.  The semantics of languages like Modula-3, Ada 95, 
Oberon-2, etc., are all quite directly representable in Java byte codes.
Eiffel would be a bit more of a challenge, given its heavy dependence
on multiple inheritance of implementation, though it could probably
be done with some appropriate mapping.

In any case, by generating a Java-compatible ".class" file, AppletMagic 
allows the Ada 95 programmer to create the same kind of platform independent,
browser-executable applets as one can create using a Java compiler,
and to call back and forth between Ada95 and Java code.

There is a lot of information available on Java (see www.javasoft.com), 
as well as on our Ada => Java-byte-code compiler 
(see www.inmet.com/javadir/download).  There is no need to
speculate...

: ...
:   Richard Riehle

-Tucker Taft   stt@inmet.com   http://www.inmet.com/~stt/
Intermetrics, Inc.  Cambridge, MA  USA




  reply	other threads:[~1996-06-03  0:00 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-24  0:00 Ada News Brief - 96-05-24.txt [1/1] AdaIC
1996-05-27  0:00 ` Tucker Taft
1996-05-28  0:00   ` Richard Riehle
1996-05-29  0:00     ` Andreas Zeller
1996-05-30  0:00       ` Java Risks (Was: Ada News Brief - 96-05-24 Richard Riehle
1996-05-31  0:00         ` Java Risks (should be Java mis-speak) The Right Reverend Colin James III
1996-06-02  0:00           ` Richard Riehle
1996-06-03  0:00             ` Tucker Taft [this message]
1996-05-31  0:00         ` Java Risks (Was: Ada News Brief - 96-05-24 Brian N. Miller
1996-06-02  0:00           ` Richard Riehle
1996-06-03  0:00           ` Ken Garlington
1996-06-04  0:00             ` Bill Brooks
1996-06-06  0:00               ` Bjarne Stroustrup <9758-26353> 0112760
1996-06-06  0:00                 ` Robert Dewar
     [not found]         ` <4omoh4$k0f@ansible.bbt.com <4ov36b$1665@watnews1.watson.ibm.com>
1996-06-04  0:00           ` Richard Riehle
1996-05-30  0:00       ` Ada News Brief - 96-05-24.txt [1/1] Robert Dewar
1996-06-01  0:00         ` AdaWorks
1996-06-01  0:00           ` Robert Dewar
1996-06-01  0:00             ` Mike Young
1996-06-03  0:00               ` Robert Dewar
1996-06-04  0:00             ` Richard Riehle
1996-06-01  0:00         ` AdaWorks
1996-06-01  0:00           ` Robert Dewar
1996-05-27  0:00 ` Brian Rogoff
1996-05-31  0:00 ` Java Risks (Was: Ada News Brief - 96-05-24 Jon S Anthony
1996-06-01  0:00   ` Java Risks David Hopwood
1996-06-02  0:00   ` Java Risks (Was: Ada News Brief - 96-05-24 Richard Riehle
1996-06-01  0:00 ` Bob Crispen
1996-06-05  0:00   ` Alan Brain
1996-06-03  0:00 ` Norman H. Cohen
1996-06-03  0:00   ` Imonics Corporation
1996-06-07  0:00   ` Peter Wentworth
1996-06-05  0:00 ` Norman H. Cohen
1996-06-05  0:00   ` Bill Brennamw
1996-06-08  0:00   ` Brian N. Miller
1996-06-09  0:00 ` Jim Kingdon
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox