From: clines@delete_this.airmail.net (Kevin Cline)
Subject: Re: Perhaps there _is_ a conspiracy against Ada
Date: 1997/04/29
Date: 1997-04-29T00:00:00+00:00 [thread overview]
Message-ID: <AFE2435FF56401C3.82CD0D772B466868.465F2907BE9D8270@library-proxy.airnews.net> (raw)
In-Reply-To: dewar.861936361@merv
dewar@merv.cs.nyu.edu (Robert Dewar) wrote:
><<And just how did you attach callback functions to GUI objects
>since the language did not support passing functions or procedures as
>arguments? Sure, each vendor defined a way to do that, but I had a
>requirement to port this program to multiple architectures and compilers.>>
>
>The ability to port a program does not mean that you require that the
>program be movable with zero changes, just that the parts that need
>changing are well defined and easily changed.
Well-defined? Certainly. Easily changed? Not without resorting
to some macro preprocessor that would have confused Ada compilers and
debuggers ignorant of anything equivalent to # source line directives.
>In fact a number of compilers implemented the semi-standard for subprogram
>pointers defined by the CIFO specification, so programs written to the
>CIFO spec would in fact work on quite a variety of compilers.
Which ones, and when? "A variety of compilers" didn't include the varieties
I was using.
>Note that if you required 100% portability with zero change, then you
>would say that no C program is portable, which is an exaggeration!
The techniques for writing portable C in 1991 were simple and well-known,
and a single set of source files could be made to work on a very large number
of hardware and operating system combinations.
Most of the portability problems for C programs were actually due to
variations in operating system services, which couldn't even be called in a
standard way using Ada-83. With no preprocessor, working around Ada-83's
missing features was considerably more aggravation.
next prev parent reply other threads:[~1997-04-29 0:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1997apr13.153233.1@eisner>
1997-04-15 0:00 ` Perhaps there _is_ a conspiracy against Ada Matthew Givens
[not found] ` <3353e636.69a2@lmtas.lmco.com>
1997-04-16 0:00 ` Matthew Givens
1997-04-17 0:00 ` Robert Dewar
[not found] ` <33539faf.77dc@bix.com>
1997-04-16 0:00 ` Matthew Givens
1997-04-17 0:00 ` Robert Dewar
[not found] ` <3353E636.69A2@lmtas.lmco.com>
1997-04-17 0:00 ` Robert Dewar
1997-04-20 0:00 ` Alan Brain
1997-04-21 0:00 ` Kevin Cline
1997-04-22 0:00 ` Tom Moran
1997-04-24 0:00 ` Kevin Cline
1997-04-24 0:00 ` Robert Dewar
1997-04-29 0:00 ` Kevin Cline [this message]
1997-04-22 0:00 ` Alan Brain
1997-04-24 0:00 tmoran
1997-04-25 0:00 ` Kevin Cline
-- strict thread matches above, loose matches on Subject: below --
1997-04-13 0:00 Larry Kilgallen
[not found] ` <01bc49ed$880f1d60$43fa82c1@xhv46.dial.pipex.com>
1997-04-17 0:00 ` Robert Dewar
[not found] ` <861210961snz@tsys.demon.co.uk>
1997-04-18 0:00 ` Robert Dewar
1997-04-24 0:00 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox