From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: *** X-Spam-Status: No, score=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10261c,90121986704b5776 X-Google-Attributes: gid10261c,public X-Google-Thread: 109fba,4873305131bf4d94 X-Google-Attributes: gid109fba,public X-Google-Thread: fdb77,4873305131bf4d94 X-Google-Attributes: gidfdb77,public X-Google-Thread: 10c950,90121986704b5776 X-Google-Attributes: gid10c950,public X-Google-Thread: 103376,4873305131bf4d94 X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,4873305131bf4d94 X-Google-Attributes: gid1014db,public From: "Pat Rogers" Subject: Re: Yet another stupid language war (was: ... the only languages you need!!) Date: 1997/10/31 Message-ID: <01bce627$82afbec0$400d6dce@my-pc.neosoft.com>#1/1 X-Deja-AN: 286217128 References: <34557f2b.1934172@news.mindspring.com> <3458D116.2D34@pseserv3.fw.hac.com> <63anc7$75p$1@darla.visi.com> <345947D2.D20EF8E9@horvath.com> <63d34m$ap7$1@darla.visi.com> Organization: Software Arts and Sciences Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.lang.java.advocacy,comp.lang.pascal.ansi-iso,comp.lang.pascal.misc Date: 1997-10-31T00:00:00+00:00 List-Id: Peter Seebach wrote in article <63d34m$ap7$1@darla.visi.com>... > C is portable in a way unlike the way Java is. Code that doesn't need > to know what size an int is can be portable among all implementations. > Code which needs a specific size of object is frequently intrinsically > not portable by nature. Size yes, range no. It is a shame that one cannot specify the range of an integer type, or the accuracy of a floating point type in C, for the sake of portability. It is nice to have the compiler tell you that your application requirements cannot be met, rather than not knowing unless a (possibly obscure) bug is detected. > C wouldn't want to offer you a guaranteed, 32 > bit type, because that might be horrendously inefficient on a 36-bit > machine. :)