comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <rieachus@comcast.net>
Subject: Re: Porting ADA source
Date: Tue, 20 Jul 2004 20:35:07 -0400
Date: 2004-07-20T20:35:07-04:00	[thread overview]
Message-ID: <DLudndW4KaGmJ2DdRVn-qg@comcast.com> (raw)
In-Reply-To: <g8-dnUjV8tx6PGDdRVn-rA@megapath.net>

Randy Brukardt wrote:

> 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.

I'll second Randy on this first.  Quick and dirty gets to "sort of 
working" faster, but doing it right seems to get to working faster, and 
definitely gets to no bugs much faster.

However, there is an issue here that may require living with two 
versions for a long-time: the need to compile using the DEC Ada compiler 
which AFAIK is Ada 83 only.  I believe that GNAT is available for some 
Alpha OSes.  (I don't know which Unix variant this is.)

I think that the right path forward would be to migrate the code to 
GNAT, then use the GNAT version on the Alpha system.  It may be a lot 
simpler than any other approach, and it certainly should reduce the 
support costs going forward.

-- 

                                           Robert I. Eachus

"The flames kindled on the Fourth of July, 1776, have spread over too 
much of the globe to be extinguished by the feeble engines of despotism; 
on the contrary, they will consume these engines and all who work them." 
-- Thomas Jefferson, 1821




  reply	other threads:[~2004-07-21  0:35 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
2004-07-21  0:35               ` Robert I. Eachus [this message]
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