comp.lang.ada
 help / color / mirror / Atom feed
From: wes@obie.UUCP (Barnacle Wes)
Subject: Re: Compiling Ada into C
Date: 13 Feb 88 02:03:10 GMT	[thread overview]
Message-ID: <49@obie.UUCP> (raw)
In-Reply-To: 2460@Shasta.STANFORD.EDU

In article <2460@Shasta.STANFORD.EDU>, neff@Shasta.STANFORD.EDU (Randy Neff) writes:
> Why do people want to compile Ada into C?

Your nine observations that follow this question are correct.  They
are also obvious.  If you were writing an Ada compiler that compiled
to assembly code, or directly to object code, you would also have to
take all of this into account.  The simple fact is C is much more
portable than any assembler.  If you write an Ada compiler that
compiles to Rolm 1666 assembler, the compiler can only generate code
for the 1666 and similar processors.  If you write it to produces C,
you can run it on many processors, you just have to port the
executable (probably written in C itself) to the target machine.
-- 
    /\              - " Against Stupidity,  -    {backbones}!
   /\/\  .    /\    -  The Gods Themselves  -  utah-cs!utah-gr!
  /    \/ \/\/  \   -   Contend in Vain."   -  uplherc!sp7040!
 / U i n T e c h \  -        Isaac Asimov   -     obie!wes

  reply	other threads:[~1988-02-13  2:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-02-05 22:24 Compiling Ada into C Randy Neff
1988-02-13  2:03 ` Barnacle Wes [this message]
1988-02-18 22:57   ` Dave Mack
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox