Re: No call for Ada (was Re: Announcing new scripting/prototyping language)
From: August Derleth (see_at_sig.now)
Date: 02/11/04
- Previous message: Mark McIntyre: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- In reply to: Martin Dowie: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Next in thread: MSG: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 10 Feb 2004 17:12:37 -0700
Martin Dowie wrote:
> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote in message
> news:22jh209rupt9e957iloaus9fn34ofm0qt3@4ax.com...
>
>>>Not quite...
>>>...they share a back-end - GNAT does NOT translate Ada source into C as
>
> an
>
>>>intermediate.
>>
>>Yes of course, GNU C is just a name of a set of compilers. Important
>>is that the back-end is same, so it is unlikely for GNAT to be slower
>>than GNU C. Theoretically Ada as a language should allow better
>>optimization than C.
>
>
> For total pedantry, GCC is the name for the set of compilers, GNU C is
> one element in this set.
>
GNU C is also used to refer to a nonstandard (extended and modified)
version of C compiled by the GNU Project's C compilers in a
non-conformant mode. A notable extension provided by GNU C over standard
C is the existence of functions that are private to another function,
and are defined within the function they are private to.
An example:
int foo(int x)
{
int bar(int y)
{
return y % 2;
}
int z = bar(x);
return z + 2;
}
That is a compilable GNU C program, and it behaves such that bar() is
not visible outside foo(). It is not conformant to any relevant standard
(as far as I know).
-- My address is yvoregnevna gjragl-guerr gjb-gubhfnaq guerr ng lnubb qbg pbz Note: Rot13 and convert spelled-out numbers to numerical equivalents.
- Previous message: Mark McIntyre: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- In reply to: Martin Dowie: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Next in thread: MSG: "Re: No call for Ada (was Re: Announcing new scripting/prototyping language)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|