Re: Java bytecode generation

Trent Waddington <s337240@student.uq.edu.au>
27 Jun 2000 00:57:57 -0400

          From comp.compilers

Related articles
Java bytecode generation crichardcarter@hotmail.com (Richard Carter) (2000-06-22)
Re: Java bytecode generation d97roli@dtek.chalmers.se (2000-06-27)
Re: Java bytecode generation ddavis2@d3dinc.com (Don Davis) (2000-06-27)
Re: Java bytecode generation james.ramirez@breathemail.net (james.ramirez) (2000-06-27)
Re: Java bytecode generation plakal@cs.wisc.edu (2000-06-27)
Re: Java bytecode generation s337240@student.uq.edu.au (Trent Waddington) (2000-06-27)
Re: Java bytecode generation andi@complang.tuwien.ac.at (2000-06-30)
Re: Java bytecode generation tbecker@pironet.com (Tim Becker) (2000-06-30)
Re: Java bytecode generation joerg.brunsmann@FernUni-Hagen.de (Joerg Brunsmann) (2000-06-30)
| List of all articles for this month |

From: Trent Waddington <s337240@student.uq.edu.au>
Newsgroups: comp.compilers
Date: 27 Jun 2000 00:57:57 -0400
Organization: University of Queensland
References: 00-06-086
Keywords: C, Java

I wrote a C compiler to java bytecode in java for the university of
queensland last year. It was pretty tough cause we were trying to write
an optimising compiler from scratch. In the end we ported gcc to the JVM
to do the traditional optimisations and used BLOAT to do bytecode specific
optimisations. The egcs-jvm backend is available from
http://www.csee.uq.edu.au/csm/uqbt.html#gcc-jvm. I would like to see a
generic SSA based compiler implemented in the java language simply due to
the high level of comprehension of java code. Perhaps a good honours
project?


Richard Carter <crichardcarter@hotmail.com> wrote:
: I am a reasonably experienced Java programmer, and I am interested in
: the way that the Java bytecode is generated. Does anyone know of a
: Java bytecode generator that is written in Java and open source? I
: have looked at Jikes
: [http://www10.software.ibm.com/developerworks/opensource/cvs/jikes/],
: and have even translated the scanner part. However my C++ is rusty and


Post a followup to this message

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