comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: ada -> C translator
Date: 1997/04/05
Date: 1997-04-05T00:00:00+00:00	[thread overview]
Message-ID: <1997Apr4.193259.1@eisner> (raw)
In-Reply-To: dewar.860170469@merv


In article <dewar.860170469@merv>, dewar@merv.cs.nyu.edu (Robert Dewar) writes:
> <<I was under the impression that ANSI C did not provide anything
> equivalent to Ada tasking.  Therefore I thought that a translator
> would have to choose between portability and feature completeness.>>
> 
> Wrong level of thinking. At the generated code level, tasking translates
> into calls to the runtime library. Deciding to generate C does not remove
> the task of coding a runtime library -- presumably this would be coded in
> C, although it could also be coded in Ada (using the compiler to bootstrap,
> the GNAT compiler uses VERY little of the runtime in the compiler itself).
> But all tasking would be accomplished by using either the existing GNAT
> (or other Ada technology) runtime, or creating a new runtime specially for
> the purposes of this translator.

In that case I would count that runtime library as part of the
"translation" of the Ada program into C, and it seems unlikely
to be portable for the tasking implementation.

Or does the specification of ANSI C include Posix thread calls ?

Larry




  reply	other threads:[~1997-04-05  0:00 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-03  0:00 ada -> C translator Gabriel Monaton
1997-04-03  0:00 ` Robert A Duff
1997-04-03  0:00   ` Robert Dewar
1997-04-03  0:00     ` Robert Dewar
1997-04-04  0:00     ` Larry Kilgallen
1997-04-04  0:00       ` Robert Dewar
1997-04-05  0:00         ` Larry Kilgallen [this message]
1997-04-06  0:00           ` Robert Dewar
1997-04-04  0:00     ` Fergus Henderson
1997-04-04  0:00       ` Richard Kenner
1997-04-05  0:00         ` Fergus Henderson
1997-04-04  0:00       ` Robert Dewar
1997-04-05  0:00         ` Fergus Henderson
1997-04-06  0:00           ` Robert Dewar
1997-04-07  0:00             ` Fergus Henderson
1997-04-07  0:00               ` Robert Dewar
1997-04-08  0:00                 ` Fergus Henderson
1997-04-08  0:00                   ` Robert Dewar
1997-04-08  0:00                     ` William Clodius
1997-04-09  0:00                     ` Fergus Henderson
1997-04-09  0:00                       ` Robert Dewar
1997-04-09  0:00                         ` Fergus Henderson
1997-04-09  0:00                           ` Robert Dewar
1997-04-10  0:00                             ` Fergus Henderson
1997-04-09  0:00                       ` William Clodius
1997-04-08  0:00                 ` Richard A. O'Keefe
1997-04-08  0:00                   ` Robert Dewar
1997-04-08  0:00                   ` William Clodius
1997-04-09  0:00                     ` Fergus Henderson
     [not found] ` <lvlo6iwws8.fsf@sulu.fl.ensco.com>
1997-04-17  0:00   ` Lance Kibblewhite
replies disabled

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