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

dmoisan@shore.net (David Moisan)
14 May 1996 20:19:20 -0400

          From comp.compilers

Related articles
[11 earlier articles]
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)
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)
[6 later articles]
| List of all articles for this month |
From: dmoisan@shore.net (David Moisan)
Newsgroups: comp.compilers
Date: 14 May 1996 20:19:20 -0400
Organization: DM Productions
References: 96-05-036 96-05-081
Keywords: architecture

khays@sequent.com (Kirk Hays) wrote:
>Remember, there is no problem in CS that can't be solved by another
>level of indirection.


True enough. Pascal for the CDC 170 did this too; the 170 has NO
stack and no native recursion (fine for Fortran, bad for Pascal). I
suspected that Pascal implementation (I can't remember whose it was,
but I don't think it was CDC's) built a jump stack.


If I remember my COMPASS (CDC assembly), there wasn't indirect
addressing so that programs that needed it actually built a jump
instruction with the desired address and branched to that instruction.
The 170 was an old archaic processor (no stack, but floating point!)
but I loved it! (Within its limits, the orthogonality was quite good
and code generation was relatively easy.)


Background: I'd used the Cyber in college and wrote a Pascal
compiler--unheard-of for undergrads there--for my senior project. I'd
planned on using the scheme I mentioned but I only got 70% finished by
the end of the term. :(


[That was in 1987, and I wish I'd had Usenet or even email at the
time...]


Dave
| David Moisan, N1KGH dmoisan@shore.net |
| 86 Essex #204 n1kgh@amsat.org |
| Salem. MA 01970-5225 http://www.shore.net/~dmoisan |
--


Post a followup to this message

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