Re: Generating Java Bytecode (Jon S Anthony)
19 Nov 1996 23:37:51 -0500

          From comp.compilers

Related articles
[2 earlier articles]
Generating Java Bytecode nasser@apldbio.COM (Nasser Abbasi) (1996-11-19)
Re: Generating Java Bytecode kuznetso@MIT.EDU (1996-11-19)
Generating Java Bytecode (Bill Purvis) (1996-11-19)
Re: Generating Java Bytecode (Stavros Macrakis) (1996-11-19)
Re: Generating Java Bytecode (nicolas (n.) chapados) (1996-11-19)
Re: Generating Java Bytecode (Gunnar R|nning) (1996-11-19)
Re: Generating Java Bytecode (1996-11-19)
Re: Generating Java Bytecode (John Carter) (1996-11-21)
Re: Generating Java Bytecode jhummel@crispix.ICS.UCI.EDU (Joe Hummel) (1996-11-21)
Re: Generating Java Bytecode (Bart Demoen) (1996-11-21)
Re: Generating Java Bytecode (Bruce Stephens) (1996-11-21)
Re: Generating Java Bytecode (1996-11-21)
Re: Generating Java Bytecode kuznetso@MIT.EDU (1996-11-21)
[13 later articles]
| List of all articles for this month |

From: (Jon S Anthony)
Newsgroups: comp.compilers
Date: 19 Nov 1996 23:37:51 -0500
Organization: Organon Motives, Inc.
References: 96-11-108 96-11-121
Keywords: Java, UNCOL

kuznetso@MIT.EDU (Eugene Kuznetsov) writes:

> [Universal machine intermediate languages go back to the 1950s, and
> they've never worked. From what I've seen of the Java intermediate
> language, it works fine for Java, OK for Ada, not so great for anything
> else. In particular, it specifically doesn't include C's wild 'n' crazy
> pointer rules. -John]

Hmmm, it seems (admittedly as only a user) that it works fine for Ada
as well. Any reason (that I have not hit yet) for why you think

> While I have not myself attempted this, it is certainly possible.
> Some languages are certainly much easier than others (one of the
> Scheme dialects can already be compiled to java bytecode, Ada, CLU and
> several other languages would not be significantly more difficult).

Well, that is odd. I know Scheme has some sort of J-code impl out
there, but Ada has a couple _commercial_ level ones right now. They
work (as far as I have been able to tell so far) _very_ well. So, I
really don't understand your "significantly more difficult" comment
here. Any actual reasons?

> The next question is why you would want to do this. Java is not all
> that different from C++ (well, except for that depressing
> multiple-inheritance problem), so it could be used in its place for

???? This sounds odd too. I mean Java also has interfaces, packages,
threads, and basically presumes automated GC. Doesn't sound too much
like C++ at all (except for the syntax).

> [Before you head down this path, you really should look at the history and
> learn why all the previous UNCOL projects failed. They all looked great with
> one or two input languages and targets, then collapsed of heat death when
> they tried to generalize more. -John]

Yeah, this certainly sounds about right...

Jon Anthony
Organon Motives, Inc.
Belmont, MA 02178

Post a followup to this message

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