comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Porting ADA source
Date: Tue, 20 Jul 2004 17:51:57 -0500
Date: 2004-07-20T17:51:57-05:00	[thread overview]
Message-ID: <g8-dnUjV8tx6PGDdRVn-rA@megapath.net> (raw)
In-Reply-To: 40FD0932.5080604@noplace.com

"Marin David Condic" <nobody@noplace.com> wrote in message
news:40FD0932.5080604@noplace.com...
...
> But the mission is to take code body X and get it from its existing
> platform onto another - not redesign the system. Time spent reorganizing
> the code and setting up a build process does not directly move that
> mission forward. Hence, it would be nice to get some kind of quick and
> dirty fix that doesn't mean spending excessive time reworking the
> existing product. A conditional compilation directive can be that sort
> of fix. Its just that it is viewed dimly as a sub-optimal formal
> technique. Oh well....

If it is a long-lived system (and this one appears to be) a quick and dirty
solution simply sets the developers up for many years of pain in
maintenance. It's better to do it right the first time (or, as in this
case - a very common one, the second time).

Case in point: when we ported Janus/Ada to the U2200 computers, we had to
change a lot of assumptions about the sizes of things. (We had of course
assumed character = byte = 8 bits, and of the U2200 was a 36-bit word
machine.) Rather than simply coding a different set of assumptions, we
decided to restructure everything so that the compiler depended on a small
set of packages that encoded host and target information. That eliminated
future redos for similar issues. I'm sure the customer would have been
happier in the short run if we hadn't restructured everything, but it meant
that virtually all bug fixes only needed to be made once -- a huge time
savings in the long run.

                             Randy.







  parent reply	other threads:[~2004-07-20 22:51 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-19  7:42 Porting ADA source Giacomo Polizzi
2004-07-19 11:04 ` Dale Stanbrough
2004-07-19 12:14   ` Marin David Condic
2004-07-19 18:46     ` tmoran
2004-07-20  0:44       ` Marin David Condic
2004-07-20 11:18       ` Peter C. Chapin
2004-07-20 11:41         ` Martin Dowie
2004-07-20 11:59           ` Marin David Condic
2004-07-20 13:02             ` Georg Bauhaus
2004-07-20 18:49             ` Jeffrey Carter
2004-07-20 22:51             ` Randy Brukardt [this message]
2004-07-21  0:35               ` Robert I. Eachus
2004-07-21 12:24                 ` Marin David Condic
2004-07-22 22:48                   ` Robert I. Eachus
2004-07-23 13:00                     ` Marin David Condic
2004-07-24  3:04                       ` Robert I. Eachus
2004-07-24 11:48                         ` Marin David Condic
2004-07-24 12:42                           ` Robert I. Eachus
2004-07-26 18:39                             ` Marin David Condic
2004-08-17  4:28               ` Ronald Price
2004-08-17 11:28                 ` Frank J. Lhota
2004-07-19 11:09 ` Adrian Knoth
2004-07-19 12:23 ` Porting Ada source Jacob Sparre Andersen
2004-07-19 18:05   ` Jean-Pierre Rosen
2004-07-19 13:39 ` Porting ADA source Steve
2004-07-20  0:54   ` Marin David Condic
2004-07-19 18:05 ` Martin Dowie
2004-07-19 19:33   ` Wes Groleau
2004-07-19 20:03     ` Larry Kilgallen
2004-07-19 20:29       ` Wes Groleau
2004-07-20 16:13         ` Martin Krischik
2004-07-19 21:36     ` Martin Dowie
2004-07-20 12:14       ` Frank J. Lhota
2004-07-20 12:27         ` Vinzent 'Gadget' Hoefler
2004-07-20 13:13 ` Peter Amey
2004-07-21  6:20 ` Volkert
2004-07-31 16:04 ` Richard  Riehle
replies disabled

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