comp.lang.ada
 help / color / mirror / Atom feed
* Endian and Ada
@ 1996-04-08  0:00 Michael Anthony Porcelli
  1996-04-08  0:00 ` Mike Young
                   ` (7 more replies)
  0 siblings, 8 replies; 18+ messages in thread
From: Michael Anthony Porcelli @ 1996-04-08  0:00 UTC (permalink / raw)


I'm taking a computer architecture class and my eyes have been opened to the
incredible lack of progress that computer science has made in the area of
architecture-independant programming.  One of the main problems that my
professor likes to point out the endian problem and the fact that so much
software is *not* endian-independant (due mainly to the widespread use of C
and C++).  However, he is not familiar enough with Ada (nor am I) to know if
Ada is endian-independant.  I'm almost positive that it's *possible* to make
endian-dependant code using unchecked programming (necessary for systems
writing).  I was wondering, however, if the day-to-day Ada software out
there is written endian-independant (i.e. the language facilities used in
most day-to-day programming don't depend on whether your architecture is
"big" endian or "little" endian.)

Thanks,

-Mike





^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Endian and Ada
@ 1996-04-18  0:00 Bob Crispen
  0 siblings, 0 replies; 18+ messages in thread
From: Bob Crispen @ 1996-04-18  0:00 UTC (permalink / raw)


phil@SEVERN.DEMON.CO.UK wrote a splendid 17-point post explaining
why bit-order is one way for one CPU and another way for another, with
some suggestions to the CPU makers.

He forgot but one point: in Ada, we set the bit order to match the
machine so that the code can match the manual.  We simply remember the
times we sat there late at night with the sample driver code in one
hand and the manual in the other and got so mad at the inconsiderate
&%$#*&^s who wrote them that we threw the both at the wall on the
other side of the cube and left for the night, muttering "Catch me
buying a board again from *them*!"
-----
Someone flogging a commercial product on an inappropriate newsgroup asked:

>Is anyone interested in an excellent memory source?

What was that again?

Bob Crispen
revbob@eight-ball.hv.boeing.com
Speaking for myself, not my company




^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~1996-04-18  0:00 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-08  0:00 Endian and Ada Michael Anthony Porcelli
1996-04-08  0:00 ` Mike Young
1996-04-09  0:00   ` Joseph Wisniewski
1996-04-08  0:00 ` Robert A Duff
1996-04-08  0:00 ` Robert Dewar
1996-04-09  0:00   ` Dale Pontius
1996-04-09  0:00     ` Theodore E. Dennison
1996-04-09  0:00     ` Thomas Koenig
1996-04-08  0:00 ` Theodore E. Dennison
1996-04-09  0:00 ` Kelly Grant
1996-04-09  0:00   ` Mike Young
1996-04-09  0:00 ` Michael Anthony Porcelli
1996-04-09  0:00 ` Michael Anthony Porcelli
1996-04-10  0:00   ` Robert A Duff
1996-04-11  0:00   ` Larry Kilgallen
1996-04-14  0:00 ` LJMetzger
1996-04-17  0:00   ` phil
  -- strict thread matches above, loose matches on Subject: below --
1996-04-18  0:00 Bob Crispen

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