comp.lang.ada
 help / color / mirror / Atom feed
From: mark_lundquist@my-deja.com
Subject: Re: Do we need "Mission-Critical" software? Was: What to Do?
Date: Thu, 11 Jan 2001 20:11:21 GMT
Date: 2001-01-11T20:11:21+00:00	[thread overview]
Message-ID: <93l410$mt6$1@nnrp1.deja.com> (raw)
In-Reply-To: 932mi6$r2k$1@trog.dera.gov.uk

In article <932mi6$r2k$1@trog.dera.gov.uk>,
  "Kevin Rigotti" <rigotti@atc.dera.gov.uk> wrote:
> Much as it pains me to say so, Ada is not always the most appropriate
> language.
>
> For example, however good the bindings, toolsets, etc that are
available it
> is simply easier and more convenient to write X Windows user
interfaces in
> C/C++ because that's what the  designers expected you to do.

Does it follow because "the designers expected" you to code in C for X,
that it is therefore "easier and more convenient" to do so, "however
good the bindings... etc."?  That's not at all obvious to me.  Am I
missing something?

Is your statement based on actual experience with Ada bindings to X?

And even so, "easier and more convenient to write" is not the only
criterion of fitness, would you not agree?  Probably not even the most
important criterion...

> Bindings and support for Gtk are a good thing, but at the end of the
day
> what I and others in a similar situation really want to do is to
build the
> clever stuff in Ada then hand it over for integration with someone
elses
> GUI, produced using whatever is cheapest and easiest.

Your statement here suggests to me that you just are not interested in
GUIs or GUI programming!  You care about "the clever stuff" :-)

You haven't substantiated your claim that programming GUIs in C/C++
is "cheapest and easiest".  You're just saying, "Who cares, it's only
the GUI -- just so long as I get to write my clever stuff in Ada",
right?

Fair enough, but then how about leaving the discussion of Ada GUI
bindings to people who _do_ care about writing them?  To offer
something you don't give a rip about as an example of an area where you
would yield to the idea of Ada being less suitable than other languages
seems a bit disingenuous... :-)

>
> I don't care if the trivial stuff is written in C, C++, Java or
anything
> else

There's a sense in which GUIs might be considered "trivial", but that
sense isn't particularly relevant to the discussion at hand.  GUIs are
neither unimportant to the product, nor are they especially easy to
program.  Here again, I suspect that by the word "trivial" you mean
that they are uninteresting to you personally...

Last year I delivered a project in C.  This was a software licensing
component that wrapped an interface to a commercial license-management
product and added additional semantics (while hiding unnecessary
features of that interface).  This was in many ways a trivial project.
Because of the nature of the project, how and where and by whom the
component was going to be integrated etc., I wasn't able to implement
it in Ada.  But man, did I wish that I could!  It really would have
been quicker, easier, and more convenient, in spite of the fact that
the designers of that commercial licensing product certainly
do "expect" you to code to their C interface.

Note that my real-life example confirms your broader point -- that
sometimes Ada is not the most suitable language -- but falsifies the
notion that this has anything to do with ease and convenience of
coding.  Hence I would expect that I would probably say the class of
cases where Ada is less suitable is probably smaller than you would
probably say it is.

On a side note -- I originally implemented this licensing component in
C++, but the integration issues due to platform differences and
compiler version dependencies in a multiplatform, shared-library
environment made this impossible, as far as I could determine.  So I
had to reimplement it in C, ripping out all the STL and hand-coding the
collection stuff, etc.

> but I do care about integration costs, particularly if they are so
> painful that I have to implement experiment critical code in a
language I
> consider inappropriate in order to reduce them.

Aren't you letting the tail wag the dog?  You're saying that the
ability to integrate "seamlessly" from Ada to C/C++ is crucially
important, otherwise you might be forced to implement your "clever
stuff" in C/C++ just so you can avoid the cost of cross-language
interfacing to integrate with the "trivial" part, which somehow can
only be implemented in C/C++.  If it's so trivial, why would it be so
unreasonable to implement it in Ada, especially if you already have a
binding that hides the cross-language level of integration from you to
begin with?

>
> So, the thing that would make the biggest impact on the uptake of Ada
in my
> environment at the moment is being able to mix and match Ada with C++
> seamlessly, using whichever fitted the problem most cost effectively.
>

I'm betting that cultural and organizational factors have more to do
with your situation than you are letting on, as much or more so than do
technical factors... whaddya say?

> [...]
>
> We could then use the youngest, cheapest staff for the C++ hacking

You seriously have part of your product that is so unimportant that it
can be fully entrusted to young cheap C++ hacking?  I find that hard to
believe...

> and when
> they'd had time to learn what real software engineering was all about
they
> could move on to doing the important stuff in Ada.

C++ hacking leaves no time for learning what real software engineering
is all about :-)  All time is consumed with chasing down link-time
errors and debugging run-time errors.  Meanwhile it conditions
programmers to think that nonsense is normal...

Anyway Kevin, I think your perspective is a little bit sick and
twisted :-) :-) First, the idea that parts of the programming product
are unimportant, and secondly the idea that C(++) is "good enough" for
the unimportant parts, while somehow it's not good enough for your
important parts!

Best regards,
-- mark



Sent via Deja.com
http://www.deja.com/



  parent reply	other threads:[~2001-01-11 20:11 UTC|newest]

Thread overview: 184+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-31 16:09 What to Do? Petra Lynn Hofman
2000-12-31 16:58 ` Robert Dewar
2000-12-31 17:41   ` Ted Dennison
2001-01-01 15:24     ` Marin David Condic
2001-01-01 17:18       ` Robert Dewar
2001-01-02 15:05         ` Marin David Condic
2001-01-01 17:54       ` Ted Dennison
2001-01-02 15:14         ` Marin David Condic
2001-01-01 21:22       ` Lao Xiao Hai
2001-01-01 15:15   ` Marin David Condic
2000-12-31 18:06 ` E. Robert Tisdale
2000-12-31 21:07   ` tmoran
2001-01-01 16:10   ` Marin David Condic
2001-01-01 17:08     ` Ehud Lamm
2001-01-01 17:53       ` Do we need "Mission-Critical" software? Was: " Warren W. Gay VE3WWG
2001-01-01 18:29         ` Ted Dennison
2001-01-01 20:25           ` Robert Dewar
2001-01-02 19:03             ` Ted Dennison
2001-01-02 20:22               ` Robert Dewar
2001-01-02 22:23               ` Florian Weimer
2001-01-02 22:27               ` Florian Weimer
2001-01-01 20:26           ` Robert Dewar
2001-01-02 19:05             ` Ted Dennison
2001-01-02 20:24               ` Robert Dewar
2001-01-02 22:53                 ` Ted Dennison
2001-01-03 18:39           ` Georg Bauhaus
2001-01-03 19:22             ` Ted Dennison
2001-01-04  1:18               ` Cesar Scarpini Rabak
2001-01-01 19:28         ` Ehud Lamm
2001-01-02 14:56         ` Cesar Scarpini Rabak
2001-01-03  3:32           ` Warren W. Gay VE3WWG
2001-01-04  1:02             ` Cesar Scarpini Rabak
2001-01-04  3:53               ` Warren W. Gay VE3WWG
2001-01-04 12:04               ` Marin David Condic
2001-01-04 13:48                 ` Marc A. Criley
2001-01-06 20:23                   ` Lao Xiao Hai
2001-01-04 17:09                 ` Ted Dennison
2001-01-04 20:30                   ` Kevin Rigotti
2001-01-05  9:15                     ` n_brunot
2001-01-05  9:57                       ` Tarjei T. Jensen
2001-01-05 10:41                         ` n_brunot
2001-01-05 13:41                       ` Robert Dewar
2001-01-05 14:15                         ` n_brunot
2001-01-06 17:17                           ` Robert Dewar
2001-01-08  8:51                             ` n_brunot
2001-01-09  4:00                               ` Robert Dewar
2001-01-09 10:20                                 ` n_brunot
2001-01-09 12:34                                   ` Karel Thoenissen
2001-01-09 14:18                                   ` Robert Dewar
2001-01-09 15:29                                     ` Ole-Hjalmar Kristensen
2001-01-09 19:25                                     ` tmoran
2001-01-09 20:11                                     ` Florian Weimer
2001-01-09 14:20                                   ` Robert Dewar
2001-01-10  2:08                                 ` Keith Thompson
     [not found]                               ` <93e2d1$spv$1@ <3A5B054B.3CF03325@hello.nl>
2001-01-09 22:05                                 ` Simon Wright
2001-01-05 15:35                         ` Ole-Hjalmar Kristensen
2001-01-05 19:20                           ` Object naming conventions (was: Do we need "Mission-Critical" software?) Kevin Rigotti
2001-01-06 17:30                             ` Robert Dewar
2001-01-06 17:24                           ` Do we need "Mission-Critical" software? Was: What to Do? Robert Dewar
2001-01-08  9:14                             ` n_brunot
2001-01-09  0:28                               ` Cesar Scarpini Rabak
2001-01-09  8:35                                 ` Florian Weimer
2001-01-10  2:21                                 ` mark_lundquist
2001-01-09  2:34                               ` DuckE
2001-01-09  4:12                               ` Robert Dewar
2001-01-09  9:12                                 ` n_brunot
2001-01-09 12:24                                   ` David Gillon
2001-01-09 12:58                                   ` Marc A. Criley
2001-01-09 13:42                                   ` Marin David Condic
2001-01-09 14:00                                     ` Marin David Condic
2001-01-12  0:21                                       ` Larry J. Elmore
2001-01-12  1:24                                         ` Al Christians
2001-01-12  5:19                                         ` Ken Garlington
2001-01-12 18:05                                         ` Marin David Condic
2001-01-09 14:27                                   ` Robert Dewar
2001-01-09 15:15                                     ` n_brunot
2001-01-09 19:41                                       ` Robert Dewar
2001-01-09 20:44                                         ` Florian Weimer
2001-01-10 12:22                                           ` Marin David Condic
2001-01-10 13:49                                             ` Ken Garlington
2001-01-10 20:41                                           ` Robert Dewar
2001-01-09 23:04                                         ` tmoran
2001-01-27 16:58                                           ` Alejandro R. Mosteo
2001-01-10 16:37                                         ` Jerry Petrey
2001-01-10 19:12                                           ` Georg Bauhaus
2001-01-11  1:43                                           ` Frank Manning
2001-01-09 16:12                                     ` n_brunot
2001-01-09 19:48                                       ` Robert Dewar
2001-01-09 20:43                                         ` Britt Snodgrass
2001-01-10 20:43                                           ` Robert Dewar
2001-01-11 13:41                                             ` JOVIAL (was Do we need "Mission-Critical" software?) Ken Garlington
2001-01-12 15:32                                               ` carr_tom
2001-01-12 16:58                                                 ` Ira D. Baxter
2001-01-22 23:18                                                 ` jls
2001-01-13 14:20                                               ` Ken Garlington
2001-01-10 10:41                                         ` Do we need "Mission-Critical" software? Was: What to Do? David Kristola
2001-01-10 13:44                                           ` Ken Garlington
2001-01-10 21:39                                           ` Robert Dewar
2001-01-10 11:47                                         ` n_brunot
2001-01-10 12:25                                           ` Marin David Condic
2001-01-10 21:36                                           ` Robert Dewar
2001-01-11 10:00                                             ` n_brunot
2001-01-12  0:42                                               ` Larry J. Elmore
2001-01-12  1:47                                                 ` Robert Dewar
2001-01-12 16:05                                               ` Georg Bauhaus
2001-01-16 19:52                                               ` Do we need any Dewar-bashing? Wes Groleau
2001-01-09 19:03                                     ` Do we need "Mission-Critical" software? Was: What to Do? dmitry6243
2001-01-09 19:51                                       ` Robert Dewar
2001-01-09 20:46                                         ` Florian Weimer
2001-01-09 21:57                                         ` Warren W. Gay VE3WWG
2001-01-10  8:55                                         ` dmitry6243
2001-01-10 13:39                                           ` Pascal Obry
2001-01-11  8:58                                             ` dmitry6243
2001-01-11 21:01                                       ` mark_lundquist
2001-01-12 11:41                                         ` dmitry6243
2001-01-12 20:29                                           ` Subprogram types vs. "limited access" (was " mark_lundquist
2001-01-12 21:58                                             ` Randy Brukardt
2001-01-13  1:35                                               ` Robert Dewar
2001-01-13  1:20                                             ` Robert Dewar
2001-01-13 17:29                                             ` dmitry6243
2001-01-15 21:06                                               ` mark_lundquist
2001-01-16  0:32                                                 ` Robert Dewar
2001-01-16  2:57                                                   ` mark_lundquist
2001-01-16  5:47                                                     ` Robert Dewar
2001-01-16 17:47                                                       ` mark_lundquist
2001-01-16  9:12                                                 ` dmitry6243
2001-01-16 20:04                                         ` Wes Groleau
2001-02-02  6:45                                           ` Java packages (was " mark_lundquist
2001-01-15 20:04                                   ` Lao Xiao Hai
2001-01-15 20:28                                     ` Jerry Petrey
2001-01-15 21:05                                       ` tmoran
2001-01-16  0:36                                         ` Robert Dewar
2001-01-16 13:23                                           ` Marin David Condic
2001-01-15 21:44                                     ` Tucker Taft
2001-01-15 22:26                                       ` BSCrawford
2001-01-23  2:19                                       ` Lao Xiao Hai
     [not found]                                         ` <94kkme$amg$1@nnrp1.deja.com>
2001-01-26 20:43                                           ` Lao Xiao Hai
2001-01-27  9:36                                             ` David Kristola
2001-01-27 21:54                                             ` Ken Garlington
2001-01-27 23:09                                               ` Pat Rogers
2001-01-28 22:30                                                 ` Ken Garlington
2001-01-09 13:37                                 ` Marin David Condic
2001-01-12  1:11                                   ` Larry J. Elmore
2001-01-09 14:52                               ` Larry Kilgallen
2001-01-10 10:26                                 ` Florian Weimer
2001-01-10 21:43                                   ` Robert Dewar
2001-01-11 18:51                               ` mark_lundquist
2001-01-11 20:11                     ` mark_lundquist [this message]
2001-01-12 11:49                       ` Kevin Rigotti
2001-01-12 19:19                         ` mark_lundquist
2001-01-16 20:20                           ` Wes Groleau
2001-01-04 16:48               ` Ted Dennison
2001-01-05 13:15                 ` Cesar Scarpini Rabak
2001-01-06 20:19               ` Lao Xiao Hai
2001-01-01 21:37       ` Lao Xiao Hai
2001-01-01 21:44         ` Ehud Lamm
2001-01-03  4:00         ` William Starner
2001-01-01 23:44       ` David Kristola
2001-01-02  0:41         ` Brian Rogoff
2001-01-02  3:14           ` tmoran
2001-01-02 20:35             ` David Kristola
2001-01-02 22:56               ` Ted Dennison
2001-01-02  7:38           ` Ehud Lamm
2001-01-02 15:08           ` Ted Dennison
2001-01-02 20:59           ` What to Do? Silly Valley JF Harrison
2001-01-02 23:22             ` William Dale
2001-01-06 20:45               ` Lao Xiao Hai
2001-01-08 18:15                 ` William Dale
2001-01-08 19:00                   ` Florian Weimer
2001-01-08 19:01                   ` Florian Weimer
2000-12-31 21:47 ` What to Do? Robert Love
2001-01-01 21:31   ` Robert Love
2001-01-10 22:06 ` km0762
2001-01-10 22:06 ` km0762
2001-01-11  0:00   ` James Rogers
2001-01-11  1:03     ` Al Christians
2001-01-29 16:09       ` spider_templar2
2001-01-11 13:57     ` John English
2001-01-11 18:00       ` William Dale
2001-01-12  0:27         ` John English
2001-01-12  2:57           ` David Botton
2001-01-13  3:34             ` Petra Lynn Hofman
2001-01-13  6:05               ` Robert Dewar
2001-01-13 13:52               ` Ken Garlington
replies disabled

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