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
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.