Related articles |
---|
Is Java useful for writing (C/C++) compiler vdbent@mail.com (Kees & Annette van der Bent) (2000-04-16) |
Re: Is Java useful for writing (C/C++) compiler patrykz@ilion.eu.org (Patryk Zadarnowski) (2000-04-16) |
Re: Is Java useful for writing (C/C++) compiler rsherry@home.com (Robert Sherry) (2000-04-17) |
Re: Is Java useful for writing (C/C++) compiler pmb@dina.kvl.dk (Peter Bertelsen) (2000-04-17) |
Re: Is Java useful for writing (C/C++) compiler gram@ull.mjolner.dk (Flemming Gram Christensen) (2000-04-20) |
Re: Is Java useful for writing (C/C++) compiler iank@bearcave.com (2000-04-20) |
Re: Is Java useful for writing (C/C++) compiler jandk@easynet.co.uk (Jonathan Barker) (2000-04-20) |
Re: Is Java useful for writing (C/C++) compiler dale@cs.rmit.edu.au (dale) (2000-04-21) |
Re: Is Java useful for writing (C/C++) compiler dvdeug@x8b4e53cd.dhcp.okstate.edu (2000-04-21) |
Re: Is Java useful for writing (C/C++) compiler nr@labrador.eecs.harvard.edu (2000-04-25) |
Re: Is Java useful for writing (C/C++) compiler jandk@easynet.co.uk (Jonathan Barker) (2000-04-25) |
[3 later articles] |
From: | Flemming Gram Christensen <gram@ull.mjolner.dk> |
Newsgroups: | comp.compilers |
Date: | 20 Apr 2000 00:35:48 -0400 |
Organization: | University of Aarhus, Department of Computer Science (DAIMI) |
References: | 00-04-125 00-04-133 |
Keywords: | Java, practice |
Robert Sherry <rsherry@home.com> writes:
> If performance was not important then I would use Java and
> PCCTS. I think PCCTS is a wonderful tool for compiler developament and
> Java is a fine langauge. However, even with a JIT am sure that your
> performance will suffer.
I think you are right. It is not evident to me how a Java JIT
could improve on the MIPS32 simulator. Sound like it build around a
large switch:
switch inst->type {
case Add: ...
...
The Java JIT's are good at incremental compilation and at inlining of
virtuals etc. Not better that regular C++ compiler at inlining statically
bound calls.
Flemming
> Robert Sherry
>
> Kees & Annette van der Bent wrote:
> > [Does it make sense to write C/C++ compilers in Java, and what
> > tools would one use? ]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.