comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Expected bytes per sloc (semicolons) performance
Date: Tue, 25 Sep 2001 17:04:13 -0400
Date: 2001-09-25T21:04:15+00:00	[thread overview]
Message-ID: <9oqrgf$jc3$1@nh.pace.co.uk> (raw)
In-Reply-To: uy9n31060.fsf@gsfc.nasa.gov

Wellllll........ Maybe not *totally* useless. In the early phases of a
project you need to get some half-way reasonable grasp on what you think
you're going to need in the way of memory. So maybe you've got experience
with a similar application and you can run some or all of its code through a
known compiler and see what you get in terms of bytes/sloc. The next step
would be to come up with some WAG about what you think you'll have in SLOCs
and use your bytes/sloc as a very crude yardstick to give you something only
*slightly* better than a WAG at how much memory you'll need. Now its a SWAG
instead of a WAG.

Its probably better than consulting an ouiji board or tarot cards - just not
by a whole lot. If you understand the limitations of what you're doing, you
might not be an order of magnitude off when you design the hardware memory
limitations.

It does raise an interesting problem. If you have to commit to certain
parameters early on in the project (such as memory or processor speed) how
do you estimate how much you'll need when you don't have the software yet?
Even assuming you've got prior experience with similar systems, you really
have no good basis in measurement to make estimates until there is some
actual software available. Maybe this suggests that software development
should start way in advance of hardware decisions. But that has its own
problems with respect to time-to-market and other considerations.

Everyone can criticize just about any attempt to make measurements and
estimates for lots of good reasons. Who could suggest a better alternative
for how to make these estimates early on in a project when critical
decisions must be made?

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/


"Stephen Leake" <stephen.a.leake.1@gsfc.nasa.gov> wrote in message
news:uy9n31060.fsf@gsfc.nasa.gov...
>
> Yes. So once again, bytes/sloc is a non-useful measure.
>






  reply	other threads:[~2001-09-25 21:04 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-18 22:03 Expected bytes per sloc (semicolons) performance Mike Harrison
2001-09-19  0:04 ` Jeff Creem
2001-09-19 10:13   ` Robert Dewar
2001-09-20  0:43     ` David B. Littell
2001-09-20 11:28       ` Steffen Huber
2001-09-20 13:10         ` Tarjei T. Jensen
2001-09-22 14:36           ` David B. Littell
2001-09-20 19:15   ` Mike Harrison
2001-09-21 14:02     ` Stephen Leake
2001-09-21 15:30       ` Mats Weber
2001-09-21 18:00         ` default
2001-09-24 17:03           ` Stephen Leake
2001-09-25 23:00             ` default
2001-09-25 16:08         ` tmoran
2001-09-25 16:44           ` Wes Groleau
2001-09-25 20:51             ` tmoran
2001-09-25 20:32           ` Stephen Leake
2001-09-25 21:04             ` Marin David Condic [this message]
2001-09-26 15:19               ` Stephen Leake
2001-09-26 16:58                 ` Marin David Condic
2001-09-21 16:22     ` Ted Dennison
replies disabled

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