comp.lang.ada
 help / color / mirror / Atom feed
From: barriost@...!asuvax!gtephx (Tim Barrios)
Subject: Re: "Ada and C++", from comp.software-eng
Date: 2 May 91 15:49:53 GMT	[thread overview]
Message-ID: <1991May2.154953.4765@...!asuvax!gtephx> (raw)
In-Reply-To: 5148@dftsrv.gsfc.nasa.gov

In article <5148@dftsrv.gsfc.nasa.gov>, abdlm@dftsrv.gsfc.nasa.gov writes:
> Erik Naggum writes
> >>As to the fourth claim of yours, you could try getting in touch with
> >>Bjarne Stroustrup and ask him about places it's being used.  Last time
> >>I heard, central telephone switching gear (the size of 5ESS) is coded
> >>in C++.  After all, this _is_ AT&T...  These animals implement CCITT
> >>Signalling System number 7.  The specs are 1500 (A-sized) pages of
> >>gory details and 500 pages of verification and validation suites.  I
> >>posted the table of contents of SS7 to comp.std.internat some time
> >>ago.
> 
> Wasn't this the system (or one similar to it) that took out the whole east 
> coast of the U.S. with a pointer bug last year. Chalk up another victory for
> the power of pointers and C++. With so much of the world economy riding on
> the telecomunications networks, wouldn't it make sense to build these 
> systems with tools (read languages) that were designed for reals time systems.

i don't think much (any?) of the #5ESS switching system is written in
C++.  it's generally written in C.  i work for a company that develops
a competing product (GTD-5) that is written in a specialized,
real-time, embedded version of Pascal (sort of pre-Ada, Ada; a "real
language"). [we used to be a competitor to AT&T but now we're part of
them since are now a JV between AT&T and GTE]

the bug that brought down the switch which "took out the whole east
coast" was related to a C 'switch' statement that was missing a
'break'.  so, when the code jumped to the particular case, it
continued into the next 'case'.  not being a big fan of C, i found it
quite amusing.

i have heard it said that the cost of maintaining our switch tends to
be less than that of AT&T.  could it have anything to do with the
language used?  just a thought.

Disclaimer: these are my own personal views; certainly not the views
of my employer.
-- 
Tim Barrios, AG Communication Systems, Phoenix, AZ
UUCP: ...!{ncar!noao!asuvax | uunet!zardoz!hrc | att}!gtephx!barriost
Internet: gtephx!barriost@asuvax.eas.asu.edu
voice: (602) 582-7101        fax:   (602) 581-4022

  parent reply	other threads:[~1991-05-02 15:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-04-30 13:56 "Ada and C++", from comp.software-eng abdlm
1991-04-30 16:53 ` Matthias Ulrich Neeracher
1991-05-02 15:49 ` barriost [this message]
1991-05-09  6:10   ` Jim Showalter
1991-05-09 16:19     ` Harry Koehnemann
1991-05-06 21:56 ` Ronald T. Crocker
  -- strict thread matches above, loose matches on Subject: below --
1991-04-25 18:16 Richard Pattis
1991-04-26 20:28 ` Jim Showalter
1991-04-29 19:32   ` Erik Naggum
1991-05-09  6:01     ` Jim Showalter
1991-05-11 21:40     ` Erik Naggum
replies disabled

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