[comp.lang.c] je: 64 bit architectures and C

Kai_Henningsen@ms.maus.de (Kai Henningsen) (05/08/91)

shap shap @ shasta.Stanford.EDU schrieb am 03.05.1991, 01:10

ss>>If you're compliant, you're portable.
ss>
ss>While I happen to agree with this sentiment, there is an argument that X
ss>hundred million lines of C code can't be wrong.  The problem with
ss>theology is that it's not commercially viable.
ss>
ss>Reactions?

Well, very few of this hundred million lines of C code are BOTH correct and not
portable to 64 bit, unchanged.
While porting software from Unix to DOS, I found lots of errors (yes, errors,
not bad style or somesuch) - I found MUCH less portability problems (though
there were some). And I found that ANSIfying the code and heeding ALL compiler
warnings eliminates most of both (and improves the readability). Once you have
a prototype generator (there are several), this is not too difficult, only
tedious.

MfG Kai