comp.lang.ada
 help / color / mirror / Atom feed
From: happy.colorado.edu!srheintze@boulder.colorado.edu
Subject: C++ vs. Ada -- Is Ada loosing?
Date: 4 Dec 92 20:18:16 GMT	[thread overview]
Message-ID: <1992Dec4.141816.1@happy.colorado.edu> (raw)

There are a lot of people out there who think C++ is the greatest thing since
sliced bread.  C++ is a truly wonderful toy because you can redefine the
language for your application.  

For example you can provide the function that is invoked in response to
assignment so you can optimize your matrix class to (1) only pass a pointer to
the matrix data instead of actually making a physical copy and (2) defer the
actual copy operation to the point in time when (and if) the target of the
assignment is modified.  This is impressive.

HOWEVER, please read "A dynamic Vector is harder than it looks" from the June
1992 is issue of JOOP (Journal of Object Oriented Programming) - vol 5 no 4. 
*THIS ARTICLE IS SCARY*  Basically Tom Cargill pointed out a bug that nearly
all C++ textbooks have made when they implement a dynamically sized array. 
This includes the textbook written by the implementor of the AT&T Cfront
compiler (will I get in trouble if I mention his name?).  If the language is so
convoluted that even the experts (including the compiler writers) cannot get
their simple textbook examples correct, then I conclude there is something
drastically wrong with the language.

I don't want anybody writing code in C++ for satellites funded with my tax
dollars!

I heard a rumer about a multi-million (or multi-billion) dollar satellite going
astray because some one left a comma out of a FORTRAN DO loop and it was still
syntactically legal.  Can anybody give me a reference on this?  

So we have C++ with very similar problems to this problem in FORTRAN that (I
believe, correct me if I am wrong) Ada was supposed to solve. You can insert a
";" between the ")" and the "{" in any while or if statement and the C++
program is still syntactically correct but semantically disasterous.

So, Ada was on the seen.  I spent some significant time as a project lead with
Ada in '89-90.  I was excited about the language.  Now I am independent and
make my living with C++.  

Where is Ada going?  Is it dying? That thread on "Is GNU-Ada self-insulting"
suggests that Ada is floundering. How badly is Ada floundering? Does that mean
I'll never see inheritance in Ada?

			Thanks,
				Sieg

             reply	other threads:[~1992-12-04 20:18 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-12-04 20:18 happy.colorado.edu!srheintze [this message]
2019-08-08 15:23 ` C++ vs. Ada -- Is Ada loosing? robin.vowels
2019-08-12 15:47   ` Shark8
2019-08-08 15:40 ` Marina 1 / FORTRAN bug robin.vowels
2019-08-08 17:26   ` Mariner " Jeffrey R. Carter
2019-08-09  1:57     ` robin.vowels
2019-08-09  6:28       ` J-P. Rosen
2019-08-09  6:47         ` Niklas Holsti
2019-08-09 11:40           ` J-P. Rosen
2019-08-09 15:57           ` Jeffrey R. Carter
2019-08-09  8:38         ` Maciej Sobczak
2019-08-09 14:27           ` Nasser M. Abbasi
2019-08-09 21:05             ` Maciej Sobczak
2019-08-09 21:24               ` Lucretia
2019-08-09 22:03                 ` Paul Rubin
2019-08-08 17:51   ` Keith Thompson
  -- strict thread matches above, loose matches on Subject: below --
1992-12-05  0:15 C++ vs. Ada -- Is Ada loosing? Kurt Olender
1992-12-05  0:17 Mark A Biggar
1992-12-06 20:12 news
1992-12-06 22:56 Gregory Aharonian
1992-12-07 19:40 Dag Bruck
1992-12-07 21:16 Jorge Luis Diaz-Herrera
1992-12-08 13:57 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.e
1992-12-10 16:22 pitt.edu!dsinc!netnews.upenn.edu!prijat!guinness.cs.uofs.edu!beidler
1992-12-10 21:54 agate!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!darwin.sura.net!convex!
1992-12-11  1:55 Alex Blakemore
1992-12-11 12:42 agate!spool.mu.edu!uwm.edu!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mkso
1992-12-13  7:17 news
1992-12-14 19:35 Pascal Obry
1992-12-18  4:06 Richard A. O'Keefe
1992-12-18 14:14 zaphod.mps.ohio-state.edu!cs.utexas.edu!milano!teenwolf.mcc.com!srogers
1992-12-18 18:11 agate!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!csc.ti.com!til
1992-12-18 21:48 Michael Feldman
1992-12-18 21:49 Robert I. Eachus
1992-12-21 16:11 ` Steve Rogers
1992-12-31 17:48   ` Mark Meyer
1993-01-04 15:22     ` agate!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!milano!teenwol
2019-08-08 11:39       ` branr62
1992-12-21 12:56 Morris J. Zwick
1992-12-23 22:18 Michael Feldman
1992-12-28 15:23 Jim Withrow
1992-12-29 16:11 Charles H. Sampson
1992-12-30  4:01 Michael Feldman
2021-02-01  5:43 Mark Bayern
replies disabled

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