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 w.purvis@daresbury.ac.uk (Bill Purvis) (1996-11-19) |
Re: Generating Java Bytecode macrakis@app2.osf.org (Stavros Macrakis) (1996-11-19) |
Re: Generating Java Bytecode chapados@nortel.ca (nicolas (n.) chapados) (1996-11-19) |
Re: Generating Java Bytecode gunnar@candleweb.no (Gunnar R|nning) (1996-11-19) |
Re: Generating Java Bytecode jsa@alexandria.organon.com (1996-11-19) |
Re: Generating Java Bytecode john@dwaf-hri.pwv.gov.za (John Carter) (1996-11-21) |
Re: Generating Java Bytecode jhummel@crispix.ICS.UCI.EDU (Joe Hummel) (1996-11-21) |
Re: Generating Java Bytecode bmd@cs.kuleuven.ac.be (Bart Demoen) (1996-11-21) |
Re: Generating Java Bytecode stephens@math.ruu.nl (Bruce Stephens) (1996-11-21) |
Re: Generating Java Bytecode torhr@storm.stud.ntnu.no (1996-11-21) |
Re: Generating Java Bytecode kuznetso@MIT.EDU (1996-11-21) |
[13 later articles] |
From: | jsa@alexandria.organon.com (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
otherwise?
> 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
--
Jon Anthony
Organon Motives, Inc.
Belmont, MA 02178
617.484.3383
jsa@organon.com
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.