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: 109fba,b87849933931bc93 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,b87849933931bc93 X-Google-Attributes: gid103376,public X-Google-Thread: 114809,b87849933931bc93 X-Google-Attributes: gid114809,public X-Google-Thread: f43e6,b87849933931bc93 X-Google-Attributes: gidf43e6,public X-Google-Thread: fac41,b87849933931bc93 X-Google-Attributes: gidfac41,public X-Google-Thread: 1108a1,b87849933931bc93 X-Google-Attributes: gid1108a1,public From: Bart Samwel Subject: Re: What is wrong with OO ? Date: 1997/01/10 Message-ID: <32D6A9C9.41C6@wi.leidenuniv.nl>#1/1 X-Deja-AN: 209002980 references: <5acjtn$5uj@news3.digex.net> <32D11FD3.41C6@wi.leidenuniv.nl> <32D64931.167E@wi.leidenuniv.nl> <5b6424$t0b@access1.digex.net> content-type: text/plain; charset=us-ascii organization: Dept. of Math. and Comp.Sci.; Leiden Univ.; Leiden; the Netherlands mime-version: 1.0 newsgroups: comp.lang.c++,comp.lang.smalltalk,comp.lang.eiffel,comp.lang.ada,comp.object,comp.software-eng x-mailer: Mozilla 2.0 (X11; I; IRIX 5.3 IP22) Date: 1997-01-10T00:00:00+00:00 List-Id: Michael Malak wrote: > Yet, Microsoft Visual C++ does exactly that. In fact, it has since > version 1.5 (early 1994). MSVC++ performs "auto-inlining" > (Microsoft's terminology) by compiling all the source modules all at > once. That's why it exhibits the curious behavior during compilation > where it says "Compiling...", then lists the modules one by one, then > says "Generating code...", then lists the modules all over again. This is a pro for VC++. However, most compilers still use the old make- based model, especially on Unix, where compilers must comply to this model because almost all unix software not distributed as binaries is distributed using make projects. That VC++ does do automatic inlining does not imply that my argument is invalid, only that there are exceptions to the general situation I described. And it still is true that C++ doesn't exactly invite compiler writers to implement automatic inlining.