comp.lang.ada
 help / color / mirror / Atom feed
* Code portability question
@ 1999-01-22  0:00 Mike Werner
  1999-01-23  0:00 ` Tucker Taft
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Mike Werner @ 1999-01-22  0:00 UTC (permalink / raw)


Hi folks.  Got into an argument the other day, and am now trying to get
some more info from those more knowledgable then myself.  I'm a first
year CS student, and the argument was with another student in my class. 
The point of contention revolves around some code written on a PC with a
K6 as the CPU.  The code needed to be mostly rewritten to compile on the
department's Unix server.  The code was written and tested on the PC,
then uploaded to the Unix server.  Once on the server, a compile was
attempted but failed, necessitating the rewrite.  The code was not
complex - intro CS course programming not much advanced from the classic
"Hello World" type projects.  As such, optimization and such is not a
factor.  The class is focused on introducing programming with Ada95.

Now, one side claims that this was necessitated by the architecture
difference, due to the K6 CPU being designed differently and handling
floats differently.  The other claims that either the code was badly
written or the compiler used was faulty or ... something was broken
somewhere.

I would appreciate any pointers as to which is correct.  But please be
gentle - I'm still learning this language and if you get technical on me
I could easily get lost.
-- 
Mike Werner  KA8YSD           |  "Where do you want to go today?"
ICQ# 12934898                 |  "As far from Redmond as possible!"
'91 GS500E                    |
Morgantown WV                 |

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU d-@ s:+ a- C++>$ UL++ P+ L+++ E W++ N++ !o w--- O- !M V-- PS+ PE+
 Y+ R+ !tv b+++(++++) DI+ D--- G e*>++ h! r++ y++++
------END GEEK CODE BLOCK------





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

end of thread, other threads:[~1999-01-31  0:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-22  0:00 Code portability question Mike Werner
1999-01-23  0:00 ` Tucker Taft
1999-01-24  0:00   ` Mike Werner
1999-01-31  0:00     ` Nick Roberts
1999-01-23  0:00 ` bill_1
1999-01-24  0:00   ` Mike Werner
1999-01-23  0:00 ` Corey Ashford
1999-01-23  0:00   ` bill_1
1999-01-24  0:00   ` Mike Werner
1999-01-24  0:00     ` Corey Ashford
1999-01-25  0:00       ` robert_dewar
1999-01-25  0:00         ` Corey Ashford
1999-01-25  0:00           ` dewar

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