Re: Java virtual machine as target language for C/C++

pardo@cs.washington.edu (David Keppel)
24 May 1996 15:43:14 -0400

          From comp.compilers

Related articles
[16 earlier articles]
Re: Java virtual machine as target language for C/C++ pardo@cs.washington.edu (1996-05-14)
Re: Java virtual machine as target language for C/C++ dmoisan@shore.net (1996-05-14)
Re: Java virtual machine as target language for C/C++ rfg@monkeys.com (1996-05-19)
Re: Java virtual machine as target language for C/C++ moresys@world.std.com (1996-05-19)
Re: Java virtual machine as target language for C/C++ pardo@cs.washington.edu (1996-05-19)
Re: Java virtual machine as target language for C/C++ robison@kai.com (Arch Robison) (1996-05-21)
Re: Java virtual machine as target language for C/C++ pardo@cs.washington.edu (1996-05-24)
Re: Java virtual machine as target language for C/C++ wws@renaissance.cray.com (1996-05-25)
Re: Java virtual machine as target language for C/C++ tmb@best.com (1996-05-26)
Re: Java virtual machine as target language for C/C++ dw3u+@andrew.cmu.edu (Daniel C. Wang) (1996-05-27)
Re: Java virtual machine as target language for C/C++ dave@occl-cam.demon.co.uk (Dave Lloyd) (1996-06-08)
Re: Java virtual machine as target language for C/C++ d.love@daresbury.ac.uk (Dave Love) (1996-06-13)
Re: Java virtual machine as target language for C/C++ bos@serpentine.com (1996-06-14)
[1 later articles]
| List of all articles for this month |
From: pardo@cs.washington.edu (David Keppel)
Newsgroups: comp.compilers
Date: 24 May 1996 15:43:14 -0400
Organization: Computer Science & Engineering, U of Washington, Seattle
References: 96-05-133 96-05-137
Keywords: Java, optimize

Arch Robison <robison@kai.com> wrote:
>[It seems little information is lost when translating Java to
> bytecodes, in contrast to other VMs that I've seen.]


Several VM's have very low information loss. I believe that
Smalltalk-80, for example, can give source code displays by
decompiling the bytecodes (again, spacing and comments are
lost). Also, I've used BASIC interpreters where the tokenized form
is used for both text storage and interpretation; it included
markers for storing comments.


I've mislaid the reference, but Peter J. Brown had an article that
I *believe* appeared in an early (71-74) issue of Software--Practice
and Experience, that was about how to augment a VM to contain the
remaining information. There was also a followup a few issues later
on a more time-efficient way of performing the decorations.


;-D on ( Space-deficient representations ) Pardo


--


Post a followup to this message

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