comp.lang.ada
 help / color / mirror / Atom feed
From: uvaarpa!software.org!stluka@mcnc.org  (Fred Stluka)
Subject: Re: c++ vs ada results
Date: 14 Aug 91 14:41:29 GMT	[thread overview]
Message-ID: <1991Aug14.144129.6334@software.org> (raw)

In article <1991Aug13.142900.28910@slcs.slb.com> cornish@slcs.slb.com (Darryl C
ornish) writes:
> Grady Booch converted the Booch Ada Component Library from ADA to C++.
> The result was thaty 150,000 lines of ADA became 20,000 lines of C++. 
> 
> While smaller is not necessarily better, this does give one cause to
> wonder at the logic of people (e.g., the DOD) who make decisions on 
> the fact that ADA programmers produced 30% more lines of code / month 
> than C++ programmers.

This comparison requires some context.

The Booch parts are a small collection of FAMILIES of related parts.
That is, there are dozens of variations on the implementation of a 
stack, dozens of queues, etc.  This is exactly the kind of code which
can benefit MOST by inheritance (one of C++'s admitted strengths over 
Ada).  It would be hard to contrive a 150,000 line example which was 
less suited to Ada and more suited to C++.  

Based on the huge amount of duplication in the Booch parts, I am 
surprised that the reduction was only a factor of 7.5.

It is unreasonable to extrapolate from this single figure when 
discussing complete software systems.

--Fred
-- 
Fred Stluka                               Internet: stluka@software.org
Software Productivity Consortium          UUNet:    ...!uunet!software!stluka
2214 Rock Hill Rd, Herndon VA 22070 USA   Voice:    (703)742-7236

             reply	other threads:[~1991-08-14 14:41 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-08-14 14:41 Fred Stluka [this message]
  -- strict thread matches above, loose matches on Subject: below --
1991-08-30  7:24 c++ vs ada results Ma ts Henricson
1991-08-29 16:54 David Emery
1991-08-16 17:56 Doug Smith
1991-08-15 15:40 Andy Davidson
1991-08-15 13:30 Paul Baker - CTA
1991-08-14 20:15 Jim Showalter
1991-08-14 19:15 Doug Smith
1991-08-14 18:40 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!utgpu!
1991-08-14 18:25 Doug Smith
1991-08-14  5:03 Mike Feldman
1991-08-13 22:08 David Emery
1991-08-13 14:29 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!cs.utexas.e
1991-07-01  5:15 Andrew Dunstan
1991-06-27 18:24 Ray Diederich, 301-294-8400
1991-06-27 12:34 Chuck Shotton
     [not found] <164741@<1991Jun12>
1991-06-20 17:58 ` ryer
1991-06-24 14:44 ` ryer
1991-06-20 16:24 Chuck Shotton
1991-06-22  3:24 ` Thomas M. Breuel
1991-06-12 16:47 alan dare
1991-06-12 19:15 ` Paul Martz
1991-06-12 20:17 ` Jim Showalter
1991-06-13 20:49   ` Paul Kohlmiller
1991-06-13 23:12     ` Bruce Jones
1991-06-16  2:48   ` Russ Nelson
1991-06-16  4:10   ` Sean Eric Fagan
1991-06-18  4:17     ` Jim Showalter
1991-06-18  8:33       ` Sean Eric Fagan
1991-06-18 21:53         ` Jim Showalter
1991-06-18 12:28       ` Mats Henricson
1991-06-18 22:06         ` Jim Showalter
1991-06-19 15:07           ` Dan Weinreb
1991-06-19 17:00           ` Doug Smith
1991-06-20 14:08             ` Steve Juneau
1991-06-20 19:56               ` Robert I. Eachus
1991-06-21 17:27                 ` David M Geary
1991-06-20 22:09               ` Paul Stachour
1991-06-21 17:03                 ` David M Geary
1991-06-23  3:14                   ` Jim Showalter
1991-06-26 22:13                 ` Dan Weinreb
1991-06-21 22:01               ` Jim Showalter
1991-06-19 18:36           ` Jim Showalter
1991-06-19 15:01         ` Dan Weinreb
1991-06-24  2:29         ` Andrew Dunstan
1991-06-24 10:06           ` David Emery
1991-06-24 13:16           ` Mats Henricson
1991-06-25  4:29           ` Tom McClory
1991-06-26  0:35             ` Jim Showalter
1991-06-26  1:26             ` Andrew Dunstan
1991-06-26 22:47               ` Jim Showalter
1991-06-27 15:47                 ` Alex Blakemore
1991-06-27 23:58                   ` Jim Showalter
1991-06-25 19:27           ` Jim Showalter
1991-06-23 23:59       ` CBW Consulting
1991-06-24 20:11         ` Jim Showalter
1991-06-12 21:27 ` Dan L. Pierson
replies disabled

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