comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Ada -vs- GNAT
Date: Mon, 10 Jun 2002 21:22:50 GMT
Date: 2002-06-10T21:22:50+00:00	[thread overview]
Message-ID: <wcc8z5mvnf9.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: 3D039926.BF697C7A@adaworks.com

Richard Riehle <richard@adaworks.com> writes:

> A long time ago, in a far away place called Data Processing Land,  we had
> languages such as COBOL, and compiler publishers addressed specific
> user and platform needs by adding new reserved words and other features
> to the language.    ACT appears to be taking a more responsible approach
> by 1)  not adding new features to the language,  2) tailoring their compiler
> through the use of pragmas and attributes as authorized by the ALRM, and
> 3) making it possible to avoid these additions by configuration pragmas.
> This seems pretty reasonable to me, and I am, as you all know, a pretty
> unreasonable person.

It seems to me that (3) is the key point.  It doesn't really matter very
much whether language extensions are new syntax or new pragmas and
attributes.  If you use compiler-specific functionality, you damage your
portability either way.  The fact that the RM authorizes certain kinds
of language extensions doesn't change this fact.

For example, if you make heavy use of 'Unrestricted_Access to make
downward closures, you're going to have a lot of trouble porting to a
compiler that doesn't support 'Unrestricted_Access.  If the same feature
were provided with syntax, it would be no harder and no easier.
The important thing is that you can run the compiler in a mode where it
forbids such extensions.

- Bob



      reply	other threads:[~2002-06-10 21:22 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-25  2:47 Ada -vs- GNAT Steve Doiel
2002-05-25  4:21 ` Simon Wright
2002-05-25  5:48   ` tmoran
2002-05-25  7:36     ` Pascal Obry
2002-05-28 13:14       ` Marin David Condic
2002-05-25  7:52     ` Simon Wright
2002-05-25 10:58     ` Robert Dewar
2002-05-25 18:28       ` tmoran
2002-05-25 21:52         ` Brian Rogoff
2002-05-26  5:20           ` David Botton
2002-05-26  9:11         ` Preben Randhol
2002-05-26 11:13           ` Simon Wright
2002-05-26 12:57             ` Preben Randhol
2002-05-25 17:38     ` Richard Riehle
2002-05-25 18:37       ` tmoran
2002-05-25 20:13         ` Richard Riehle
2002-05-28 13:47       ` Marin David Condic
2002-05-28 17:55       ` Stephen Leake
2002-05-28 18:35         ` Marin David Condic
2002-05-28 21:42         ` Robert I. Eachus
2002-05-25  7:55   ` Simon Wright
2002-05-25 11:04   ` Robert Dewar
2002-05-25 11:23     ` Simon Wright
2002-05-25 11:51   ` Larry Kilgallen
2002-05-25 15:34     ` Robert Dewar
2002-05-25 20:09   ` Robert C. Leif
2002-05-25  7:27 ` Pascal Obry
2002-05-25  7:41 ` Preben Randhol
2002-05-25 14:46   ` Steve Doiel
2002-05-25 17:03     ` Preben Randhol
2002-05-25 17:10       ` Pascal Obry
2002-05-25 17:17         ` Preben Randhol
2002-05-25 22:23     ` Robert Dewar
2002-05-25 23:24       ` Steve Doiel
2002-05-26  9:21         ` Preben Randhol
2002-05-28 13:58         ` Marin David Condic
2002-05-29 11:13           ` Preben Randhol
2002-06-28 18:25             ` pontius
2002-05-25 15:35   ` Robert Dewar
2002-05-25  8:00 ` chris.danx
2002-05-25 15:37   ` Robert Dewar
2002-05-25 15:53     ` chris.danx
2002-05-25 17:02       ` Pascal Obry
2002-05-25 17:50         ` chris.danx
2002-05-25 18:04           ` Pascal Obry
2002-05-25 22:37           ` Robert Dewar
2002-05-25 22:44             ` chris.danx
2002-05-26  2:05               ` Robert Dewar
2002-05-25 22:31       ` Robert Dewar
2002-05-26  5:29   ` David Botton
2002-05-25 10:49 ` Robert Dewar
2002-05-25 11:02 ` Robert Dewar
2002-05-28 18:09   ` Stephen Leake
2002-05-25 11:09 ` Robert Dewar
2002-06-07 22:39 ` Randy Brukardt
2002-06-08 12:14   ` Robert Dewar
2002-06-08 19:37     ` SteveD
2002-06-09 12:13       ` Robert Dewar
2002-06-12 17:07         ` Warren W. Gay VE3WWG
2002-06-09 18:05       ` Robert Dewar
2002-06-09 18:06     ` Richard Riehle
2002-06-10 21:22       ` Robert A Duff [this message]
replies disabled

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