comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Expected bytes per sloc (semicolons) performance
Date: 21 Sep 2001 10:02:40 -0400
Date: 2001-09-21T14:03:40+00:00	[thread overview]
Message-ID: <uadzobq0v.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 8f23da36.0109201115.2f708535@posting.google.com

mike_harrison80@yahoo.com (Mike Harrison) writes:

> Thanks for the responses.  Sorry the thread turned into a RISC discussion.
> 
> So let me try to get back on track with a different question:
> If you were bidding a 5K sloc estimated size program (algorithmic in 
> nature) to go into a satellite with limited memory, what sort of 
> bytes/per sloc estimate would you use, 5, 10, 20, 50, 100?  Our
> experience is 50 or more.  Is this what others are seeing
> with today's Ada compiler technology?

Hmm. I've never had to actually do such a bid, but I am a Rocket
Scientist, and I've been on the receiving end of such bids, so I'll
venture an opinion :).

I'd do a prototype on the target processor, and measure it. Second
best is to find similar code on a similar processor, and measure that.

If I was on your bid review committee, that's what I'd look for. 

If you don't have a working target processor yet, and you don't have a
simulator, and there is no "similar" processor - pick another
processor!

Rules about n bytes per sloc are just too processor, compiler, and
coding style dependent to be useful.

I guess I need to say I am _not_ speaking for NASA here, just me.

-- 
-- Stephe



  reply	other threads:[~2001-09-21 14:02 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 [this message]
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
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