[comp.os.minix] Portable programming

URZ90%DMSWWU1A.BITNET@cunyvm.cuny.edu (Rainer Perske) (07/25/89)

Hello,

On Sun, 23 Jul 89 13:22:09 GMT John C. Archambeau said:
(he should now expect a flame for his /dev/null)

>ast@cs.vu.nl (Andy Tanenbaum) writes:
>>.....
>>I, for one, am absolutely, irrevocably, unequivocably, and adamantly
>>opposed to that mentality, except for people over 65, who grew up with
>>the ENIAC and MARK I generation.  If there is anything we have learned about
>>computer science in the past 20 years, it is that programs should be
>>portable.  A program written in a high-level language, be it C, Pascal, Ada,
>>or even FORTRAN, should not be tailored to one specific architecture,
>>and certainly not one on the way out.

Andy, your comment is delicios!
But I'm afraid most programmers disregard this problem, especially in
the *NIX world (sizeof(char *)==sizeof(int)?? and other problems)

>.....    You and I both know that the compiler/linker is both OS as well as
>hardware dependant.  I want a compiler/linker that will spot what CPU/Minix
>version (i.e. stock PC, 286 protect mode, 386, and so on).  .....

Totally agreed, concerning the 1st sentence, but,
John, why do you stop at half the way? Why not expect a compiler/linker
for 8086 8088 68000 80268 68010 68020 80368 68030 6502 VAX ... ? ;-)
It shouldn't be to difficult ;-)

   ____                              Rainer Perske
   /   )      ,                      Institut fuer Angewandte Informatik
  /___/ __     __   __   __          Orleansring 16
 / \   /  / / /  ) /__) /            D-4400 Muenster
/   \ (__( ( /  ( (___ /             Federal Republic of Germany
EARN/Bitnet: URZ90 AT DMSWWU1A       UUCP: urz90@dmswwu1a.bitnet