develooper Front page | perl.perl6.internals | Postings from December 2001

Re: What is wrong with GCC's register transfer language?

Thread Previous | Thread Next
From:
James Mastros
Date:
December 3, 2001 14:59
Subject:
Re: What is wrong with GCC's register transfer language?
Message ID:
Pine.GSO.3.96L.1011203175329.28566B-100000@unixs2.cis.pitt.edu
On Mon, 3 Dec 2001, Terrence Brannon wrote:
> Is there some reason that a new pseudo-architecture has be 
> invented and compiled to? Why can't we simply compile to GCC's 
> RTL and allow gcc to compile to C?
"allow gcc to compile to C"?  Huha?  GCC does C->RTL and RTL->assembler
(of whatever machine), I thought.

> And then just write a RTL->JVM and RTL->CRL converter?
Well, as far as RTL->Parrot Bytecode goes, because RTL tends to assume
that we have some large, byte-addressed memory, which simply isn't true in
parrot's style ot thinking.  You can simulate it with a properly
constructed PMC, of course, but that makes the output be of not much use.

(Of course, I notice you didn't ask that question.)

	-=- James Mastros
-- 
"In the case of alchemy v chemistry the chemists know whether it will
probably go bang before they try it (and the chemical engineers still duck
anyway)."	-=- Alan Cox




Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About