comp.lang.ada
 help / color / mirror / Atom feed
From: "Marc A. Criley" <mcq95@earthlink.net>
Subject: Re: 64-bit integers in Ada
Date: Mon, 05 Aug 2002 11:40:19 GMT
Date: 2002-08-05T11:40:19+00:00	[thread overview]
Message-ID: <3D4E652E.FDB4C1C@earthlink.net> (raw)
In-Reply-To: 5ee5b646.0208041748.3feb353f@posting.google.com

Robert Dewar wrote:
> 
> Actually, this kind of short range thinking (sorry I am too
> busy to learn how to do things right, I have too much to
> worry about) is really inappropriate to the Ada world and
> the world of serious software engineering. I can't tell you
> how many projects have a heck of a time porting legacy code
> because programmers have not given attention to the issue of writing
> portable code earlier on.

I can certainly vouch for the presence of this practice in the
industry.  I've done a few ports over the years, and so many times I
have to deal with problems that had the original developers spent just 5
minutes thinking about how to implement in an "Ada" way, rather than the
first approach that came into their head, would've eliminated the
porting problem and made the original code more straightforward and
readable.

The latest was the message buffer handling portion, wherein
Unchecked_Conversion, 'Address, and an Interfaced memcpy routine were
used to move the bits around from buffer to buffer, and to build and
unpack messages.  Variant records and assignment statements would've
worked just as well.

Although, software systems like these are really helpful for stress
testing source code analysis tools :-)

Marc A. Criley, Consultant
Quadrus Corporation
www.quadruscorp.com



  reply	other threads:[~2002-08-05 11:40 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-16 11:27 64-bit integers in Ada David Rasmussen
2002-05-17  2:28 ` Robert Dewar
2002-05-17 13:56 ` Mark Johnson
2002-07-29 15:33 ` Victor Giddings
2002-07-29 20:15   ` Robert A Duff
2002-07-30 18:35     ` Richard Riehle
2002-07-30 20:20       ` Robert A Duff
2002-07-31  0:13       ` Robert Dewar
2002-07-31  4:17         ` Keith Thompson
2002-07-31  8:41           ` Larry Kilgallen
2002-07-31 13:20           ` Robert A Duff
2002-07-31 13:42             ` Marin David Condic
2002-08-01  7:54               ` Lutz Donnerhacke
2002-08-01 13:07                 ` Marin David Condic
2002-08-02  7:31                   ` Lutz Donnerhacke
2002-08-02 13:21                     ` Marin David Condic
2002-08-03 12:24                       ` Robert Dewar
2002-08-03 18:59                         ` Richard Riehle
2002-08-04  6:12                           ` Chad R. Meiners
2002-08-04 14:07                           ` Robert Dewar
2002-08-05  2:28                             ` Richard Riehle
2002-08-11 15:32                               ` Simon Wright
2002-08-13 21:14                             ` Randy Brukardt
2002-08-04 18:00                           ` Larry Kilgallen
     [not found]                           ` <5ee5b646.0208040607.ebb6909@posting.googOrganization: LJK Software <PG2KS5+doDWm@eisner.encompasserve.org>
2002-08-05  1:44                             ` Robert Dewar
2002-08-05  1:48                             ` Robert Dewar
2002-08-05 11:40                               ` Marc A. Criley [this message]
2002-08-05 14:40                                 ` Pat Rogers
2002-08-05  2:34                             ` Richard Riehle
2002-08-11 21:56                           ` Robert A Duff
2002-08-13 21:09                         ` Randy Brukardt
2002-08-18  1:01                           ` AG
2002-08-20  0:15                             ` Robert Dewar
2002-08-02  8:37                   ` Fraser Wilson
2002-08-02 12:54                   ` Frank J. Lhota
2002-08-01 11:57               ` Larry Kilgallen
2002-08-01 17:53               ` Ben Brosgol
2002-08-01 20:32               ` Keith Thompson
2002-07-31 21:50             ` Keith Thompson
2002-07-31 21:59               ` Robert A Duff
2002-07-30  4:29   ` Robert Dewar
replies disabled

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