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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10a146,a03ae7f4e53958e1 X-Google-Attributes: gid10a146,public X-Google-Thread: fac41,a03ae7f4e53958e1 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,8775b19e3c68a5dc X-Google-Attributes: gid103376,public X-Google-Thread: 1094ba,a03ae7f4e53958e1 X-Google-Attributes: gid1094ba,public X-Google-Thread: 1014db,a03ae7f4e53958e1 X-Google-Attributes: gid1014db,public X-Google-Thread: fa0ae,a03ae7f4e53958e1 X-Google-Attributes: gidfa0ae,public X-Google-Thread: 109fba,a03ae7f4e53958e1 X-Google-Attributes: gid109fba,public X-Google-Thread: 114809,a03ae7f4e53958e1 X-Google-Attributes: gid114809,public From: seebs@plethora.net (Peter Seebach) Subject: Re: Which language pays most 17457 -- C++ vs. Java? Date: 1997/12/22 Message-ID: <67mp3p$f7h$3@darla.visi.com>#1/1 X-Deja-AN: 309450734 References: <199712121931.LAA25389@sirius.infonex.com> <67iipp$ktj$1@darla.visi.com> Organization: Plethora Internet NNTP-Posting-Date: 22 Dec 1997 16:20:41 CST Newsgroups: comp.lang.fortran,comp.lang.c,comp.lang.c++,comp.lang.eiffel,comp.lang.java.programmer,comp.lang.smalltalk,comp.lang.perl.misc,comp.lang.ada,comp.edu Date: 1997-12-22T16:20:41-06:00 List-Id: In article , William J. Leary Jr. wrote: >As I've said in several other messages which have forked off this main one, >it was my understanding that the argument was over the LANGUAGE, not the >ENVIRONMENT. There are two languages. "printf" is as much a part of the C language as "++" is. Yes, there's a form of the C language in which there may or may not be any printf - but in that form, you don't even know where programs start, so we don't care much. >The language spec (the part that says 'if means this, = means this, ++ means >this and so on) doesn't include that standard library jazz or specify that >things like "memcpy" are reserved words. The reserved words there are >things like "if," "for," "switch" and so forth. In that spec you won't find >"memcpy" along with "switch" as a reserved word. No, you find it in a different section, because it is a different *kind* of reserved word. (For instance, it is reserved only as an identifier with external linkage, when reserved at all, or possibly also as a macro in some cases.) >The compilers I used (Metaware, Microsoft C/C++, and a few others we >evaluated but didn't use for production work) all did just what you say. If >we targeted DOS or UNIX or what have you, there were definite limitations on >what we could do. If we target nothing (or embedded, or whatever option the >compiler required) we could use any name we felt like for any purpose >whatever. True - they were compiling a different language. The C spec provides for two very different things, both called C. -s -- seebs@plethora.net -- I am not speaking for my employer. Copyright '97 All rights reserved. This was not sent by my cat. C and Unix wizard - send mail for help, or send money for a consultation. Visit my new ISP --- More Net, Less Spam! Plethora . Net