comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <Nick.Roberts@dial.pipex.com>
Subject: Ada Programming Environment [was ifdef replacement for GNAT]
Date: 1998/04/15
Date: 1998-04-15T00:00:00+00:00	[thread overview]
Message-ID: <6h68ea$k5d$1@plug.news.pipex.net> (raw)
In-Reply-To: 1998Apr13.124600.1@eisner


Aha, but Larry, you miss Michael's point: the Ada standard does not
prescribe the way in which different 'versions' of code (e.g. package
bodies) are selected for compilation into a version of a program. So
supplier A provides one method, supplier B provides another, and so on. This
is the sort of anarchy which Ada was intended to prevent.

Of course, this issue goes beyond just conditional compilation, to the
(fairly well discussed) issue of the Ada programming/development environment
(APSE or whatever).

(Along with others) I would suggest that one of the broad issues Ada 200X
should address is the issue of the programming environment. Whilst,
doubtless, much would be impossible to standardise, I feel that much could
be; and it would surely be a great boon to Ada programmers everywhere to
have even a partially standardised environment to work in.

I realise there are things like COE out there, but they all have problems
(as regards wider implementation). And, with respect, they are not written
by the talented people who created Ada (83 & 95), nor are they subject to
the same rigorous review process.

Michael's discursion on the subject of I/O (a classic Brennerism (MFB is
_unique_)) is (to me) fascinating. Mentioning no names, there are some
real-time operating systems which use a central 'software bus' in a way very
similar to what Michael describes. And the idea works provably well, too. A
lesson there, I feel sure.

For those of you who are not studied in Turing (shame on you!:-), it is
perhaps interesting to note that every program is just a means of
translating an input stream into an output stream. Some programs can even do
it backwards ;->

--
Nick Roberts, Croydon, UK
Nick.Roberts@dial.pipex.com

Larry Kilgallen wrote in message <1998Apr13.124600.1@eisner>...
|In article <6gt6ij$q6o@top.mitre.org>, mfb@mbunix.mitre.org (Michael F
Brenner) writes:
|
|> These are good steps. However, there still needs to be a need for
|> conditional compilation for three reasons.
|
|Regardless of the presence of reasons for supporting inline conditional
|compilation, I believe the current state of affairs is the correct one,
|due to the overwhelming strong reason for _not_ supporting it -- namely
|that it will get abused.  Take a look at any multi-platform C program.







  reply	other threads:[~1998-04-15  0:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <352287EE.1CFB@tolstoy.mdc.com>
1998-04-08  0:00 ` ifdef replacement for GNAT John T Vegezzi 312C M 237110
1998-04-09  0:00   ` Robert Dewar
1998-04-10  0:00     ` Dirk Zoller
1998-04-10  0:00       ` Robert Dewar
1998-04-11  0:00         ` nabbasi
1998-04-11  0:00           ` Larry Kilgallen
1998-04-13  0:00           ` Richard Kenner
1998-04-11  0:00         ` raw
1998-04-11  0:00         ` Larry Kilgallen
1998-04-13  0:00         ` Michael F Brenner
1998-04-13  0:00           ` Larry Kilgallen
1998-04-15  0:00             ` Nick Roberts [this message]
1998-04-14  0:00         ` Jean-Pierre Rosen
1998-04-11  0:00       ` Geert Bosch
1998-04-12  0:00         ` Haug Buerger
1998-04-13  0:00           ` Aaro Koskinen
replies disabled

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