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

khays@sequent.com (Kirk Hays)
13 May 1996 14:14:33 -0400

          From comp.compilers

Related articles
[8 earlier articles]
Re: Java virtual machine as target language for C/C++ billms@nixon.icsl.ucla.edu (1996-05-08)
Re: Java virtual machine as target language for C/C++ sal714@rs710.gsfc.nasa.gov (1996-05-08)
Re: Java virtual machine as target language for C/C++ bnm@indica.bbt.com (1996-05-10)
Re: Java virtual machine as target language for C/C++ mbk@caffeine.engr.utk.edu (1996-05-10)
Re: Java virtual machine as target language for C/C++ Drinie@xs4all.nl (1996-05-10)
Re: Java virtual machine as target language for C/C++ dean@psy.uq.oz.au (1996-05-10)
Re: Java virtual machine as target language for C/C++ khays@sequent.com (1996-05-13)
Re: Java virtual machine as target language for C/C++ genew@mindlink.bc.ca (1996-05-13)
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)
[9 later articles]
| List of all articles for this month |
From: khays@sequent.com (Kirk Hays)
Newsgroups: comp.lang.java,comp.lang.c++,comp.compilers
Date: 13 May 1996 14:14:33 -0400
Organization: Sequent Computer Systems Inc.
References: 96-05-036
Keywords: Java

Rinie Kervel <rinie@incore.xs4all.nl> wrote:
>I know that Java does not support pointer arithmetic.
>
>But as the Java virtual machine gets integrated in many OSes it would
>be nice to use it as a target language for other languages.


Set the dial on the way-back machine to 1975...


FORTRAN-IV under CP/V on the SDS/XEROX/Honeywell Sigma 6 didn't
support pointers, either, yet we used it to implement virtual machines
for languages that did support pointers...


Basicly, the concept was that any pointer could be represented as an
index into an array.


Think about it for a while - the rest is left as an exercise for the
reader ;-).


I've heard that ADA implementation(s) have targeted JAVA, so I
suspect, modulo unconstrained pointers, other languages could be
supported, as well.


Remember, there is no problem in CS that can't be solved by another
level of indirection.


[Everything old is new again...each generation must discover the
truths of the preceeding generation on its own.]
--
Kirk Hays
--


Post a followup to this message

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