comp.lang.ada
 help / color / mirror / Atom feed
From: Marin David Condic <condicma@bogon.pwfl.com>
Subject: Re: KSLOC estimates Ada vs C++
Date: 1999/05/28
Date: 1999-05-28T00:00:00+00:00	[thread overview]
Message-ID: <374EDD04.D7603EEA@pwfl.com> (raw)
In-Reply-To: 374DCB87.6EE9BE49@lmco.com

Raymond Calande wrote:
> 
> Has anyone ever seen a reference in which a comparison is done that
> shows the relative size in KSLOC for Ada versus C++ for the equivalent
> program?
> TIA

After having been involved with software metrics for the last ten years,
I'd advise that this is a hopelessly meaningless comparison. Even
attempting to compare two programs written in the same language, but
solving different problems is difficult and loaded with land mines.

Obviously, there are going to be problems which are more easily and
naturally expressed in Ada which will take fewer slocs than an
equivalent C++ program. The converse also being true. If you are looking
for a metric on efficiency or cost or almost anything else, I'd suggest
trying something else.

It never hurts to create some benchmarks of applications that are
"typical" for your problem domain and seeing how a quality
implementation in either language fares. But you have to be careful that
you aren't misleading yourself or testing the effects of one specific
implementation. Its a sticky problem. It would be nice if we were
comparing blivet-stamping machines where there is going to be a clear
winner based on volume, but we never build the same thing twice so it's
a lot more complicated problem.

MDC
-- 
Marin David Condic
Real Time & Embedded Systems, Propulsion Systems Analysis
United Technologies, Pratt & Whitney, Large Military Engines
M/S 731-95, P.O.B. 109600, West Palm Beach, FL, 33410-9600
***To reply, remove "bogon" from the domain name.***

Visit my web page at: http://www.flipag.net/mcondic




  parent reply	other threads:[~1999-05-28  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-27  0:00 KSLOC estimates Ada vs C++ Raymond Calande
1999-05-28  0:00 ` Richard D Riehle
1999-05-28  0:00 ` Marin David Condic [this message]
1999-06-13  0:00 ` Jack Florio
  -- strict thread matches above, loose matches on Subject: below --
1999-05-28  0:00 Robert I. Eachus
replies disabled

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