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: fac41,b87849933931bc93 X-Google-Attributes: gidfac41,public X-Google-Thread: 109fba,b87849933931bc93 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,b87849933931bc93 X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,b87849933931bc93 X-Google-Attributes: gidf43e6,public X-Google-Thread: 1108a1,b87849933931bc93 X-Google-Attributes: gid1108a1,public X-Google-Thread: 114809,b87849933931bc93 X-Google-Attributes: gid114809,public From: malak@access1.digex.net (Michael Malak) Subject: Re: What is wrong with OO ? Date: 1997/01/10 Message-ID: <5b6424$t0b@access1.digex.net>#1/1 X-Deja-AN: 208979890 references: <5acjtn$5uj@news3.digex.net> <32D11FD3.41C6@wi.leidenuniv.nl> <32D64931.167E@wi.leidenuniv.nl> organization: Express Access Online Communications, Greenbelt, MD USA newsgroups: comp.lang.c++,comp.lang.smalltalk,comp.lang.eiffel,comp.lang.ada,comp.object,comp.software-eng Date: 1997-01-10T00:00:00+00:00 List-Id: In article <32D64931.167E@wi.leidenuniv.nl>, Bart Samwel wrote: > >In C++, it's not possible, that's true. This is because C++ uses a >modular model that completely separates different parts of the system. >When compiling one module, the compiler doesn't know anything about the >other modules other than that they are there and their specifications. >This makes automatic inlining very hard, because the implementation is >just _not available_ to the compiler! 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. -- Michael Malak Magic forwarding e-mail address: Washington, DC malak@acm.org